标签:type typeerror bsp error: err not pytho python str
字符串->数字:
float(str)
int(str)
查看某一个变量的类型:
type(var)
python问题:
使用fromkeys(ind,int(ele))报错TypeError: ‘int‘ object is not iterable
使用sp[ind] = int(ele)就可以了,奇怪的问题
标签:type typeerror bsp error: err not pytho python str
原文地址:http://www.cnblogs.com/lebronzhang/p/6161060.html