尝试使用int变量"row"
作为Excelread
行中的参数,以便进行迭代。我得到错误,因为python没有识别为int输入?你知道吗
from automagica import *
Row = 2
current_run = ExcelReadCell(path="C:\\Users\\jmoloney\\Downloads\\Medicaid.xlsx", r=Row, c=1, sheet=None)
Row = Row+1
print(current_run)
输出:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: ExcelReadCell() got an unexpected keyword argument 'r'
我想出来了,格式是关闭的,必须使用
ExcelReadRowCol(路径=“C:\Users\jmoloney\Downloads\医疗补助.xlsx,r=行,c=1,表=无)
vs ExcelReadCell(xxx)
相关问题 更多 >
编程相关推荐