问题遇到的现象和发生背景
在进行下列代码时,出现 AttributeError: 'ElementTree' object has no attribute 'getiterator' 报错
问题相关代码,请勿粘贴截图
wb = xlrd.open_workbook(address1)
sheet = wb.sheet_by_name('sheet1')
运行结果及报错内容
AttributeError: 'ElementTree' object has no attribute 'getiterator'
我的解答思路和尝试过的方法
我想要达到的结果
想知道解决问题的方法,如何避免此问题