Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Draft saved
Draft discarded
Cancel
11
  • 2
    That looks like a list, not a string... Commented Apr 25, 2018 at 13:29
  • 7
    Possible duplicate of How to convert a string to a list in Python? Commented Apr 25, 2018 at 13:30
  • are you talking about the element inside of this list ? Commented Apr 25, 2018 at 13:30
  • That looks like it's a duplicate question – I am sure I've seen at least several variants. Anyway, what did you try & why did it not work? Commented Apr 25, 2018 at 13:31
  • 3
    ast.literal_eval() or json.loads() ... Commented Apr 25, 2018 at 13:31

lang-py

AltStyle によって変換されたページ (->オリジナル) /