I'm trying to use xlwings for the first time but I can't quite understand the documentation. From the section "Quickstart" I read
import xlwings as xw
wb = xw.Book() # this will create a new workbook
When I try this "at home", I have no problem importing xlwings but with the second script I get this error:
AttributeError: module 'xlwings' has no attribute 'Book'
When I try to see the attributes of xw I can see AboveBelow,ActionTime etc. but not Book.
Can you help please?
Thank you very much.
I had the error also and changed from Workbook to Book. It is a version issue.
wb = xw.Workbook()