"Tino Dai" <obe...@gmail.com> wrote
I know that this is a python group but you might want to try the opensource utility called Expect. It does what you need it to do without havinghaving to go through this trial and error process with subprocess. http://expect.nist.gov/
Or use the Python wrapper around expect - pyexpect???Alan G
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor