Splitting a list of strings

Mark McEahern marklists at mceahern.com
Tue Sep 17 20:34:04 EDT 2002


> I need to read a list of strings from a file[...]

For those of us who are lazy and lacking in imagination, why not share a few
lines of representative sample data?

// m

p.s.  Don't use str as the name of a variable, you'll clobber the builtin
str.

-





More information about the Python-list mailing list