python 调试时遇到的各种错误--持续更新

一、'NoneType' object is not subscriptable

File "C:/UI自动化/执行机系列对外/pythonFrame/frame/O45/Equity_Bid/Ins_StockEx_Admin.py", line 41, in Modify_Element Md_ok_btn(None,modify_box) File "C:/UI自动化/执行机系列对外/pythonFrame/frame/O45/Equity_Bid/Ins_StockEx_Admin.py", line 48, in Md_ok_btn if inputdata['修改风险交互框'] == '继续': TypeError: 'NoneType' object is not subscriptable

传入的变量为空,无法进行判断

猜你喜欢

转载自www.cnblogs.com/isyolo/p/12430462.html
今日推荐