Storing lines from a text file

bradfordh at gmail.com bradfordh at gmail.com
Mon Jan 30 00:00:10 CET 2006


Hello everyone.

I am not sure how hard of a question is, but I do know that I need some
help if you can give it. What I want to do is read the lines in a text
file and store each line into a variable. I believe that I can use
readlines() to read the individual lines, but how would I store each
line into a variable for further analysis? Thanks for any and all
suggestions.


-Tempo-




More information about the Python-list mailing list