🌈 搜索
📅  最后修改于: 2022-03-11 14:46:19.645000             🧑  作者: Mango
import ast x = '["A","B","C","D"]' x = ast.literal_eval(x) x # Returns: ['A', 'B', 'C', ' D']