String To List

Girish girish.cfc at gmail.com
Mon Mar 17 02:15:46 EDT 2008


I have a string a = "['xyz', 'abc']".. I would like to convert it to a
list with elements 'xyz' and 'abc'. Is there any simple solution for
this??
Thanks for the help...



More information about the Python-list mailing list