can we save print msg into a file when script running ?

Steve Holden steve at holdenweb.com
Wed Oct 12 10:40:59 EDT 2005


black wrote:
> quote:
> =======================
> script.py >> script.log 2>&1
> =======================
> 
> what does 2>&1 mean pls ?
> 
It's Unix shell-speak for "send the standard error stream to the same 
place as the standard output". Probably a syntax error on Windows ...

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list