首页
编程
java
php
前端
首页
编程
java
php
前端
python提取图片报错“TypeError: string indices must be integers”
python提取图片报错“TypeError: string indices must be integers”
这篇文章:
python之解析 yaml配置文件时TypeError: string indices must be integers
也许能够解决你的问题,你可以看下
可以看下这个博客,字面意思是参数应该是整数
python string indices must be_python报错string indices must be integers,怎么解决?_weixin_39803977的博客-CSDN博客
展开全部python报错string indices must be integers解决如下:在.py文件中写的data={"a":"123","b":"456"},data类型为dict而在.py文件中通过data= arcpy.GetParameter(0) 获取在GP中传过来的参数{"a":"123","b":"456"},data类型为字62616964757a686964616fe58...
https://blog.csdn.net/weixin_39803977/article/details/111457260
table是个字符串吧,检查一下num1和num2,字符串的索引必须是数字,
点击展开全文