Detail AttributeError: 'module' object has no attribute 'workbook'
Question: 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('Eswar')
    
    sheet.write (4,4,'Test passed')
    
    workbook.save("D:\resultsLatest.xls")
    

what have i done wrong?

I am using python 2.7


Answer: In source [code on github](https://github.com/python-
excel/xlwt/blob/master/xlwt/__init__.py#L3) 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
    

