파일쓰기1 Python 파일쓰기 # Export data to csv file import csv f = open('output.csv', 'w+', encoding='utf-8', newline='')wr = csv.writer(f) people = ["A","B","C"]n = 0 for n in range(0, 3): wr.writerow([n, people[n]]) f.close() 쉬우니까 재밌다. 2017. 8. 9. 이전 1 다음