Skip to content

Instantly share code, notes, and snippets.

@fatosmorina
Created July 25, 2021 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatosmorina/17cb81cd45f91f56f2913f53fa692965 to your computer and use it in GitHub Desktop.
Save fatosmorina/17cb81cd45f91f56f2913f53fa692965 to your computer and use it in GitHub Desktop.
import ast
def string_to_list(string):
return ast.literal_eval(string)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment