2022-12-15

pythen excel append cel and change title

from openpyxl import Workbook
wb=Workbook()
ws=wb.active
ws.title="Hehe"
ws.append([1, '1',"1"])
ws.append([12, '1',"1"])
ws.append([123, '2',"133",'45','78'])
ws.cell(31,1,"Thin stick")
wb.save('sap.xlsx')
print(".")

from openpyxl import Workbook
wb=Workbook()
ws=wb.active
ws.title="Hehe"
ws.append([1, '1',"1"])
ws.append([12, '1',"1"])
ws.append([123, '2',"133",'45','78'])
ws.cell(31,1,"Thin stick")
wb.save('sap.xlsx')
print(".")

댓글 없음:

댓글 쓰기