Putting a line from a text file into a variable, then moving to next line

Vernon Wenberg III vwenberg at gmail.com
Sun Oct 7 08:00:44 EDT 2007


I'm not really sure how readline() works. Is there a way to iterate 
through a file with multiple lines and then putting each line in a 
variable in a loop?



More information about the Python-list mailing list