image_name = ''.join([chr(j) for j in data[data['anno'][0][i]]])
chr(j)将值为j的ascii码变为字符,然后在for循环中得到字符列表,’’.join方法将这些字符拼接起来
filename = filename.replace('./reptile/combine_224/','')
去除字符串中特定字符串或字符
eval(facedata['left_top'][i])
利用eval使字符串转列表
round(1.35,1)
输出1.4,四舍六入五平分
a = [[1,2],[2,6,3]]
print(sum(a,[]))
输出[1, 2, 2, 6, 3],完成列表降维,参考https://segmentfault.com/a/1190000018903731