On Apr 4, 2005 12:21 PM, Pete Moscatt <[EMAIL PROTECTED]> wrote: > I am reasonably new to python and am trying to read several lines of text > from an open file.
my_file = open('whatever.txt', 'r') for line in my_file: print line # Or whatever -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list