代码如下:
import openpyxl
book = openpyxl.workbook()
sh = book.active
sh.title = '工资表'
book.save('ex02.xlsx')
解决:
只需要将workbook的k大写即可
book = openpyxl.Workbook()
代码如下:
import openpyxl
book = openpyxl.workbook()
sh = book.active
sh.title = '工资表'
book.save('ex02.xlsx')
解决:
只需要将workbook的k大写即可
book = openpyxl.Workbook()
程序代码 class Person: #constructor def __init__(self,name,sex): self.
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M