string to list

Hemanth H.M hemanth.hm at gmail.com
Thu Jun 14 09:39:20 CEST 2012


@Annop Nice one, but you seem to have missed a parenthesis.

>>> list(literal_eval("'aa','bb','cc'")  should have been >>>
list(literal_eval("'aa','bb','cc'"))


On Thu, Jun 14, 2012 at 12:58 PM, Anoop Thomas Mathew <atmb4u at gmail.com>wrote:

> >>> list(literal_eval("'aa','bb','cc'")




-- 
*'I am what I am because of who we all are'*
h3manth.com <http://www.h3manth.com>
*-- Hemanth HM *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120614/f0413a60/attachment.html>


More information about the Python-list mailing list