can we save print msg into a file when script running ?
maksim.kasimov at gmail.com
Wed Oct 12 09:18:22 CEST 2005
> hi all~
> in my .py file there are a few print to trace out some message and i
> wonder if we can save it into a specified file when that script get
> running. if so, i may just check that file to c how the script is
> running. can anyone show me a right direction ?
> one million tks~
script.py >> script.log 2>&1
mailto: maksim.kasimov at gmail.com
More information about the Python-list