微信扫一扫
使用join将list类型转化为string类型时报如上错误,应该是转换时类型识别错误,所以使用下面的代码强制转换一下,就ok了
strt=''.join(str(i) for i in list)
相关推荐