can we save print msg into a file when script running ?
Maksim Kasimov
maksim.kasimov at gmail.com
Wed Oct 12 03:18:22 EDT 2005
black wrote:
> 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
--
Best regards,
Maksim Kasimov
mailto: maksim.kasimov at gmail.com
More information about the Python-list
mailing list