<[EMAIL PROTECTED]> wrote:

> 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?

f = open('aaaaaaargh', 'w')
print>>f, 'killew wabbit'


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to