from pywinauto.application import Application
app = Application(backend='uia').start('notepad.exe')
window = app['Untitled - Notepad']
window.print_control_identifiers()
window..wrapper_object().type_keys("your text",with_spaces=True)
from pywinauto.application import Application
app = Application(backend='uia').start('notepad.exe')
window = app['Untitled - Notepad']
window.print_control_identifiers()
window..wrapper_object().type_keys("your text",with_spaces=True)