Best way for inter-process communication in Python

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Dec 4 18:58:07 EST 2006


At Monday 4/12/2006 14:48, Hugo Ferreira wrote:

>There is another option that I thought while writing this...
>I can use the database for data communication. Like having a table
>with both in and out parameters. On the client-side, I fill the in
>parameters columns. Then I signal the external application which reads
>the parameters, and write the output.
>
>Which raises me the following question... How do I signal a python
>application under windows? (Is it possible to send something like a
>SIGHUP?)

Use a named Event object (same name on both programs) (I mean the 
Windows Event object, not the one found in the threading module) and 
WaitForSingleObject &Co.


-- 
Gabriel Genellina
Softlab SRL 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Python-list mailing list