"Dave Kuhlman" <[EMAIL PROTECTED]> wrote 

> But, if you want more control, then look at these functions/modules
> in the Pyhon standard library:
> 
> - popen, popen2, etc -- http://docs.python.org/lib/os-process.html

Or the new(ish) subprocess module which supercedes system(), 
popenX(), commands, spawn(), execX()  etc

But yes, to read the output of your command you need more 
than system() which only returns the exit code of the command, 
usually zero.

> - tarfile -- http://docs.python.org/lib/module-tarfile.html

He is already using this one :-)

Alan G.

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to