سؤال

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.

هل كانت مفيدة؟

المحلول

import os
os.system("osk")

This will invoke the on screen keyboard, active for the window that invokes it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top