标签:this code hello 内容 xlsx book ash 写入 his
xlsx_file = "test.xlsx"
wb = openpyxl.Workbook(xlsx_file)
ws = wb.active
ws["A1"]="hello world"
ws["A2"]="this is test"
xlsx_file = "test.xlsx"
wb = openpyxl.load_workbook(xlsx_file)
ws = wb.active
ws["A1"]="hello world"
ws["A2"]="this is test"
标签:this code hello 内容 xlsx book ash 写入 his
原文地址:https://www.cnblogs.com/wanderingfish/p/9347803.html