raw=['[1,2]','[3,4]','[4,5]']
# 合并结果为一个大列表
res_li=[1,2,3,4,5]
import itertools
raw=['[1,2]','[3,4]','[4,5]']
list(itertools.chain(*map(eval, raw)))
li=[[1,2],[3,4],[4,5]]
list(itertools.chain(*li))
temp_li = []
for res in raw:
for i in eval(res):
temp_li.append(i)
res=[x for j in raw for x in eval(j)]
import json
res=[x for j in raw for x in json.loads(j)]
temp_li = []
for res in raw:
temp_li.extend(eval(res))