python - cannot import workbook in openpyxl -


i have installed openpyxl in ubuntu.
running openpyxl xlsx files.

while importing module, gives me following error.

from openpyxl import workbook importerror: cannot import name workbook 

can knows have solve problem?

i think want:

from openpyxl import workbook # not workbook 

note capitalization of name here.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -