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
posted @ 2020-03-03 10:35
posted @ 2020-03-03 10:33