Python报AttributeError: module 'string' has no attribute 'join'解决方法

2023-02-22,,

报:AttributeError: module 'string' has no attribute 'join'

属性错误:模块“string”没有属性“join”

解决方法:因为python版本升级,函数名称已有改变,只需要将string改为str即可。

 

Python报AttributeError: module 'string' has no attribute 'join'解决方法的相关教程结束。

《Python报AttributeError: module 'string' has no attribute 'join'解决方法.doc》

下载本文的Word格式文档,以方便收藏与打印。