get a list from a string

Steven D'Aprano steve at REMOVE.THIS.cybersource.com.au
Thu Jun 7 08:44:30 EDT 2007


Ah, sorry, pre-mature sending. Stupid keyboard accelerators :(

To finish the sentence I was trying to write:

On Thu, 07 Jun 2007 22:39:41 +1000, Steven D'Aprano wrote:

> I wish even more that Python would come with a built-in "make a list from a
> list representation" function, but that at least is fairly easy to create:
> you can modify 

... Fredrik Lundh's safe-eval function:

http://online.effbot.org/2005_11_01_archive.htm




-- 
Steven.




More information about the Python-list mailing list