📜  在 csv 中追加记录 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:03.501000             🧑  作者: Mango

代码示例2
import csv   
fields=['first','second','third']
with open(r'name', 'a') as f:
    writer = csv.writer(f)
    writer.writerow(fields)