How can I save command prompt screen

Steven Howe howe.steven at
Fri Apr 27 17:21:11 CEST 2007

ozan SARI wrote:
> Hi ,
> I  run  a  python  acript   with os.system('')
> I  want   save command prompt screen  in  a  text file (everything )   
> how  can  I  do  this?
> Thanks   for your  help
> Ozan 
check out using the subprocess module <subprocess%20module> It seems 
to be the new
replacement for os.system spawn, popen .... It has specific stdout, 
stderr and stdin handling.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list