1.在运行时报错:TypeError: unbound method onlyCellValue() must be called with dictionary instance as first argument (got str instance instead)
后经在网上查看,发现时由于调用其他类时,未在后面添加括号,添加括号后,运行正常。这是由于未添加括号情况下,未被认为是类的实例,故报此错
改正后的:readIt = dictionary().onlyCellValue("E:\python\API\eadData.xls", "Sheet1", 1)
--------------------- 作者:emily_and_cat 来源:CSDN 原文:https://blog.csdn.net/emily_and_cat/article/details/41843851?utm_source=copy 版权声明:本文为博主原创文章,转载请附上博文链接!
2.