"James" <[EMAIL PROTECTED]> wrote 

> I'm not really sure how I would replace 'yes', though, in this  
> situation.  Thoughts?

Just read the output of Popen from stdout and respond 
with a 'y' to stdin until the process finishes.

See the example in the documentation of Popen 
replacing os.popen...

Or look in the OS topic of my tutorial near the end...

HTH,


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld



_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to