How to parse a string completely into a list
john.ford at colorado.edu
john.ford at colorado.edu
Wed Sep 24 23:30:00 EDT 2008
More information about the Python-list mailing list
Wed Sep 24 23:30:00 EDT 2008
- Previous message (by thread): Python style: exceptions vs. sys.exit()
- Next message (by thread): How to parse a string completely into a list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I want to take a long alpha-numeric string with \n and white-space and place ALL elements of the string (even individual parts of a long white-space) into separate list elements. The most common way I've seen this performed is with the split() function, however I don't believe that it has the power to do what I am looking for. Any suggestions? thanks
- Previous message (by thread): Python style: exceptions vs. sys.exit()
- Next message (by thread): How to parse a string completely into a list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list