if (rowTemp % 10000 == 0):
print(rowTemp)
print(type(rowTemp))
#print("写入了 " + str(rowTemp) + " 行(计算公式)")
259行: print(str(rowTemp))
#print("处理了 " + str(rowTemp) + " 行修改颜色")
#print(str(rowTemp))
#print(str(rowTemp))
263行 #print("处理了 " + str(totalRow-1) + " 行修改颜色")
10000
Traceback (most recent call last):
<class 'int'>
File "D:/myProgram/pythonProgram/JetbrainsCrack/excelToMssql/mssqlToExcelBom/delBomCreateBom.py", line 301, in <module>
readAndYanSe(sExcelFile,totalRow,bomName)
File "D:/myProgram/pythonProgram/JetbrainsCrack/excelToMssql/mssqlToExcelBom/delBomCreateBom.py", line 259, in readAndYanSe
print(str(rowTemp))
TypeError: 'float' object is not callable
Process finished with exit code 1
263行,如果不注释掉,也报同样的错:“TypeError: 'float' object is not callable”,太诡异了,大佬帮忙看看啊。搞了一下午,同样的代码,在别的地方就没事。百度、google无果,谢谢
--
修改:feng321 FROM 120.242.253.*
FROM 120.242.253.*