Skip to content Skip to sidebar Skip to footer

Detail Attributeerror: 'module' Object Has No Attribute 'workbook'

I keep getting the Detail AttributeError: 'module' object has no attribute 'workbook' error. below is my code import xlwt workbook = xlwt.workbook() sheet = workbook.add_sheet('

Solution 1:

In source code on github you can see right spelling Workbook. Your code should be:

import xlwt
workbook = xlwt.Workbook()
sheet = workbook.add_sheet('Eswar')
sheet.write(4,4,'Test passed')
workbook.save("D:\\resultsLatest.xls")enter code here

Post a Comment for "Detail Attributeerror: 'module' Object Has No Attribute 'workbook'"