Python Error解决方案:from openpyxl.cell import get_column_letter, column_index_from_string ImportError
当想用openpyxl连接Excel时,或许你想用get_column_letter(1)这种的,进行相应的转换,但是在导入了库:from openpyxl.cell import get_column_letter, column_index_from_string后,发现报错。
解决方案
把from openpyxl.cell import get_column_letter, column_index_from_string换成from openpyxl.utils import get_column_letter,column_index_from_string
我们再看结果
解决!