[python-win32] IPC between Python and a win32 process
Mark Hammond
mhammond at skippinet.com.au
Tue Jul 25 01:49:06 CEST 2006
> I have a win32 application written in C that does some background
> processing (process1). Users can have some limited interaction with
> the C application via a python Gui running in a separate process
> (process2). What is the easiest way for the C application and the
> python Gui to communicate?
>
> I would like to be able to pass messages and data between these
> two processes.
I assume you are looking for the *easiest* way to do it from the POV of your
C code (otherwise you can use any technique you like, all the way to xmlrpc)
I would suggest you look at either win32 "named pipes" (and the win32pipe
module for the Python process) or simple sockets.
Cheers,
Mark
More information about the Python-win32
mailing list