"Elwin Estle" <chrysalis_reb...@yahoo.com> wrote
parse various text files and my standard method is to slurp the whole thing up into a string variable, then break it up into a list that I can then work on
If you read it with readlines() Python will do all of that for you... HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ --------------------------------------------------------------------------------
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor