with open('abc.csv', 'a', newline='',encoding='utf-8-sig') as f: writer = csv.writer(f) writer.writerow(bb)
需要utf-8-sig模式才可以