Nathan McBride wrote: > Would you mind perhaps show an example running an interactive command like su > and show how to send input to the commands waiting propmts? Using the subprocess module, open a command and save the stdin and stdout pipes as variables. Then write to the stdin to send data to the program, and read from stdout to get data from it.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor