The only way you can do what you want is to write a simple bridge program using winelib which communicates with your Win32 app (e.g. using COM) and you access the winelib bridge from your python script using e.g. shared memory or some socket (e.g. a unix socket, TCP/IP or whatever).