a = [] with open('douban.json','r') as f: for i in f.readlines(): a.append((i.encode('utf8').decode('unicode_escape')))
a = [] with open('douban.json','r') as f: for i in f.readlines(): a.append((i.encode('utf8').decode('unicode_escape')))
转载于:https://www.cnblogs.com/peter1994/p/7631275.html