Re: Logging output from python

2006-12-09 Thread Leonhard Vogt
Cameron Walsh schrieb: > > If it's on linux you can just redirect the screen output to a file: > > python initialfile.py 1>stdout.txt 2>stderr.txt > As for windows, I'll test it now... > > It turns out you can at least redirect the output to a file, I'm not > sure what it does with standard er

Re: Logging output from python

2006-12-08 Thread MRAB
Gabriel Genellina wrote: > At Thursday 7/12/2006 23:21, Cameron Walsh wrote: > > > > Here is my problem. I want to log everything displayed in the screen > > > after I start the main python script. Things include unhandled > > > exceptions , message from print statement and other sources. > > > Ba

Re: Logging output from python

2006-12-07 Thread Gabriel Genellina
At Thursday 7/12/2006 23:21, Cameron Walsh wrote: > Here is my problem. I want to log everything displayed in the screen > after I start the main python script. Things include unhandled > exceptions , message from print statement and other sources. > Basically, if it is displayed on the screen,

Re: Logging output from python

2006-12-07 Thread Cameron Walsh
Barry wrote: > Hi, guys > > Basiclly, it is automated testing system. There is a main python script > that handles the testing campagin. This main script will call another > script that will in turn runs a few hundered individual python scripts. > > > Here is my problem. I want to log everything

Logging output from python

2006-12-07 Thread Barry
Hi, guys Basiclly, it is automated testing system. There is a main python script that handles the testing campagin. This main script will call another script that will in turn runs a few hundered individual python scripts. Here is my problem. I want to log everything displayed in the screen afte