Controlling an external program with Python
Erno Kuusela
erno at iki.fi
Sat Jun 24 14:31:43 EDT 2000
>>>>> "Tony" == Tony Keating <keating at mech.uq.edu.au> writes:
Tony> start the program, then send various strings to the program,
Tony> read some output from the program then send some more
Tony> strings to the program.
there are a couple of expect modules for python (so named because
there is an old tcl-based language called expect for doing just this).
parnassus lists 3 modules (<URL:http://www.vex.net/parnassus/
apyllo.py?find=expect>), i haven't
used any of them however...
-- erno
More information about the Python-list
mailing list