[Tutor] Input from and output to a file

govind goyal govindgoyal at gmail.com
Wed Feb 7 13:25:36 CET 2007


hi,

1) I want to read data not from <STDIN> but from a file which is in
specified directory.
2) I want to redirect my output(which is by default STDOUT) to a file.

Can anybody suggest these queries?

Thanks
Regards,
Govind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070207/5f65b587/attachment.htm 


More information about the Tutor mailing list