[Python] openpyxl로 파이썬에서 엑셀파일 만들기


[Python] openpyxl로 파이썬에서 엑셀파일 만들기

파이썬으로 실행한 결과를 엑셀로 출력하기 위해 openpyxl을 사용하려고 한다. openpyxl은 파이썬으로 excel 파일을 읽거나 쓸 수 있도록 해주는 모듈이다. openpyxl을 사용해 엑셀 파일을 만들고 간단히 수정해 보려 한다. 아래 사이트에 구체적인 내용과 다양한 사용법이 나와 있다. https://openpyxl.readthedocs.io/en/stable/tutorial.html Tutorial — openpyxl 3.0.10 documentation Create a workbook There is no need to create a file on the filesystem to get started with openpyxl. Just import the Workbook class and start work: >>> from openpyxl import Workbook >>> wb = Workbook () A workbook is always created with ...


#python #파이썬

원문링크 : [Python] openpyxl로 파이썬에서 엑셀파일 만들기