2023-01-24 Ver0.2 #https://note.nkmk.me/python-file-io-open-with/ #https://tonari-it.com/python-csv-writer-writerow/ #https://note.nkmk.me/python-csv-reader-writer/ with open(file_name,mode='a') as f : # 引数「mode='a'」は追記モード writer = csv.writer(f) writer.writerow([],[],[]) csvの取り扱い方 定型がほとんど。