GetKeyboardLayoutName Win32API

Tsolakos Stavros sou1980 at
Sat Feb 14 19:42:52 EST 2009

Hi all.

I was trying to find a way to read the currently selected input layout
from an app written in python. I am aware that if the app were written
in C, I would have to call the GetKeyboardLayoutName() function. How can
this be done in Python? I want to avoid writing an extension just for
this. The function is not available through pywin32.

Thank you,

More information about the Python-list mailing list