python 版本 3.6,windows7,我已经安装了 xlrd 和 xlwt 模块,为何在执行下方代码时一直显示:
AttributeError: 'Sheet' object has no attribute 'write'
多谢高手指点!
代码如下:
"
import xlrd
import xlwt
bo1=xlrd.open_workbook(r'C:\extest01.xlsx')
she1=bo1.sheets()[0]
she1.write(0,10,"string")
"
AttributeError: 'Sheet' object has no attribute 'write'
多谢高手指点!
代码如下:
"
import xlrd
import xlwt
bo1=xlrd.open_workbook(r'C:\extest01.xlsx')
she1=bo1.sheets()[0]
she1.write(0,10,"string")
"