I am struggling with simply creating an Excel file using xlswriter with Python. I use Python 3.4, and xlswriter 0.6.3.
Here is what I get:
>>> import XlsxWriter
>>> workbook=xlsxwriter.Workbook('file.xlsx')
Traceback (most recent call last): File "<pyshell#3>", line 1, in <module>
workbook=xlsxwriter.Workbook('file.xlsx')
NameError: name 'xlsxwriter' is not defined
I have tried with different spellings (capital or not), it makes no difference.
xlsxwriter
. I don't know what you're getting fromimport XlsxWriter
, I would expect an error there. – jonrsharpe Nov 24 '14 at 12:01