xlsm

Xlsm file Python

Xlsm file Python Question: I want to open an .xlsm file with openpyxl library. When I tried to open it, it gives me the IndexError: index out of range. I also observed if I delete all the hidden worksheets in the file before running the code it will be OK. Can you help me? Because …

Total answers: 2

Write a list of lists into csv and having UnicodeEncodeError in python

Write a list of lists into csv and having UnicodeEncodeError in python Question: I am converting an xlsm file to csv using the openpyxl library. I have the problem that when I try to pass the list of lists to the csv python returns the following error: Traceback (most recent call last): File "test.py", line …

Total answers: 1