Gettin regular Python and JPython to communicate interproces

Gordon McMillan gmcm at hypernet.com
Mon May 17 22:44:43 EDT 1999


Sarino Suon writes:

> I run Python on Windows98. But I need GUI support, so I chose to run
> JPython through the Java runtime environment as a separate process.
> I do this because I need the GUI, but I also need regular Python to
> do heavy duty data crunching. My question: How can I get JPython to
> communicate with Python interprocess? Is there a COM module that
> will run in JPython? How about ILU? If there's a module, can you
> lead me to the source?

Sockets are guaranteed to work. If you use MS's Java, you could use 
the fact that a Java class is also a COM object. CORBA should work, 
but I've no idea which ones to try. If you don't mind writing AWT 
code, you won't find Tk / tkinter that hard. Probably easier than any 
of the above.


- Gordon




More information about the Python-list mailing list