[Tutor] easy newbie questions: text file to list?

ashleigh smythe absmythe@ucdavis.edu
Wed May 21 13:53:01 2003


Thanks to everybody for their help on turning my text file into a list. 
Gerrit's tip on the string method splitlines() worked great and seems to
be the easiest answer for me but I liked seeing everyone else's
different ideas.  You guys weren't kidding when you say there's more
than one way to do things with Python!  

I'm a little clearer on pickle now so thanks for those tips too.

Ashleigh





***************************
Ashleigh B. Smythe
Graduate Research Assistant
Department of Nematology
UC Davis
Davis, CA 95616
phone 530-754-4321
email absmythe@ucdavis.edu