def save_to_csv(""要存入的各个列名字""):
row = [""要存入的各个列名字""]
with open(r'path/filename.csv', 'a', newline='', encoding='utf-8') as file:
f = csv.writer(file)
f.writerow(row)
写入csv函数
猜你喜欢
转载自blog.csdn.net/qq_42717902/article/details/82624189
今日推荐
周排行