Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16421

Re: How convert a list string to a real list

References <CAHbqn4jog2CzT+ahL3XwPZwvAr8eKN3qHsp2yaJk1VYa1157JQ@mail.gmail.com> <CAJ6cK1b4hAk10D3-UL3X0zkTQ+xZzkDp2a-Ww2kEwvwagz3vgA@mail.gmail.com>
Date 2011-11-30 18:23 +1100
Subject Re: How convert a list string to a real list
From Alec Taylor <alec.taylor6@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3147.1322637791.27778.python-list@python.org> (permalink)

Show all headers | View raw


Arnaud: Already showed that solution

On Wed, Nov 30, 2011 at 6:09 PM, Arnaud Delobelle <arnodel@gmail.com> wrote:
>
> On Nov 30, 2011 6:21 AM, "郭军权" <guojunquan@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
>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How convert a list string to a real list Alec Taylor <alec.taylor6@gmail.com> - 2011-11-30 18:23 +1100

csiph-web