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


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



More information about the Python-list mailing list