How best to convert a string "list" to a python list
Daniel Kluev
dan.kluev at gmail.com
Sat May 14 06:16:02 EDT 2011
More information about the Python-list mailing list
Sat May 14 06:16:02 EDT 2011
- Previous message (by thread): How best to convert a string "list" to a python list
- Next message (by thread): How best to convert a string "list" to a python list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, May 14, 2011 at 7:41 PM, Nobody <nobody at nowhere.com> wrote: > to use a regular expression to match everything up to the next delimiter, > and do this in a loop to extract the individual items. re.findall() should let you match all items at once, without loop. -- With best regards, Daniel Kluev
- Previous message (by thread): How best to convert a string "list" to a python list
- Next message (by thread): How best to convert a string "list" to a python list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list