About Pywinauto recorder
This function plays back a string of code or a Python file.
str_code – The Python code to be played back
filename – The name of the file corresponding to the Python code to be played back