redirecting print to a a file
Harold Fellermann
dadapapa at googlemail.com
Thu May 11 08:56:11 EDT 2006
Previous message (by thread):
redirecting print to a a file
Next message (by thread):
redirecting print to a a file
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
>>>
import sys
>>>
sys.stdout = file("output","w")
>>>
print "here you go"
Previous message (by thread):
redirecting print to a a file
Next message (by thread):
redirecting print to a a file
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list