How convert a list string to a real list

Alec Taylor alec.taylor6 at gmail.com
Wed Nov 30 02:23:08 EST 2011


Arnaud: Already showed that solution

On Wed, Nov 30, 2011 at 6:09 PM, Arnaud Delobelle <arnodel at gmail.com> wrote:
>
> 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
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list