Bi-directional communication with external programs?
Helmut Jarausch
jarausch at skynet.be
Tue Jun 3 09:55:05 EDT 2003
Norbert Nemec wrote:
> Hi there,
>
> can anybody help me on this: I want to communicate bidirectionally with a
> gnuplot session I spawned from python.
>
> I.e.
> * popen3 for input/output/stderr
> * write one command
> * read and evaluate result
> * write next command
> * read and evaluate result
> etc.
>
Maybe you want to use ExpectPy http://expectpy.sourceforge.net
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
More information about the Python-list
mailing list