Python2和Python3的区别
摘要:
核心区别 1.Python2 默认编码方式ACSII,Python3默认编码utf-8 导致Python3的string只支持unicode的string,Python2支持str和unicode 2.Python3采用绝对路径方式进行import 避免Python2中导入标准库与绝对路径下的文件重 阅读全文
posted @ 2020-03-03 10:35 喝了少不如不喝 阅读(353) 评论(0) 推荐(0)
浙公网安备 33010602011771号