How to convert a string of a list of tuples to a Python list of tuples [duplicate]
问题 This question already has answers here : Converting a string of tuples to a list of tuples in Python (3 answers) Closed last year . I have a list of tuples saved into a string (unfortunately). I am looking for a fast an efficient way to convert this string to an actual list of tuples. Example: mylist_string = '[(40.7822603, -73.9525339), (40.7142, -74.0087), (40.7250027, -73.9413106), (40.703422, -73.9862948), (40.7169963, -74.0149991), (40.7420448, -73.9918131), (40.7287, -73.9799), (40