How convert a list string to a real list
Arnaud Delobelle
arnodel at gmail.com
Wed Nov 30 02:09:48 EST 2011
On Nov 30, 2011 6:21 AM, "郭军权" <guojunquan at gmail.com> wrote:
>
> Good after
> I have a string liststr = '["aaaa","bbbb","ccc"]' ,and I need
convert it to a list like list = ["aaaa","bbbb","ccc"],what can id do?
> Thanks.
>
Look up the json module.
--
Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20111130/f6e9b599/attachment-0001.html>
More information about the Python-list
mailing list