Newbie question regarding .readline()

Alex Coventry alex_c at mit.edu
Sun Jul 30 00:59:46 EDT 2000


Try replacing readline with readlines.  The first returns a single
line as a string, the second a list of strings.

Alex.



More information about the Python-list mailing list