Re: How can I redirect print function to an output file?
<Plissken.s@gma il.com> wrote:
[color=blue]
> I am using the print function in my python script.
> Can you please tell me what can I do to redirect the output to an file?[/color]
f = open('aaaaaaarg h', 'w')
print>>f, 'killew wabbit'
Comment