[Tutor] Extracting the list from a string

kala Vinay kala586 at gmail.com
Wed Jul 11 10:48:04 CEST 2012


Hi all,

       say i have a string s="['a','b']" and i want to get a list object
from this string s ie l=['a','b']

Please help.

Thank you in advance

-- 
Regards,
Kala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120711/2cfef210/attachment-0001.html>


More information about the Tutor mailing list