How can I save command prompt screen
howe.steven at gmail.com
Fri Apr 27 17:21:11 CEST 2007
ozan SARI wrote:
> Hi ,
> I run a python acript with os.system('script.py')
> I want save command prompt screen in a text file (everything )
> how can I do this?
> Thanks for your help
check out using the subprocess module
http://docs.python.org/lib/node529.html <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...
More information about the Python-list