How to access Windows on_screen keyboard accessory through Python
问题 I am creating a touch screen project through "Python Card". To fill data in a text box, can I bring the Windows on-screen keyboard to my program instead of creating a soft keyboard myself? I am trying to get the Windows on-screen keyboard using PyWin32, but it doesn't execute properly. Are there better ways to get this keyboard functionality into my application? Please help me out. 回答1: import os os.system("osk") This will invoke the on screen keyboard, active for the window that invokes it.