📅  最后修改于: 2022-03-11 14:45:26.380000             🧑  作者: Mango
from ast import literal_eval as safe_eval
string = '[[396, 555], [326, 337], [467, 332]]'
print(safe_eval(string))
# will return: [[396, 555], [326, 337], [467, 332]]