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 Ozan
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.

sph

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to