一、python2.x源碼不規範,重複性較多,不支持中文,默認編碼爲ASCII,能夠在文件=頭部加入 # -*- encoding:utf-8 -*-來解決python
二、python3.x源碼清晰,簡潔,優美,支持中文,默認編碼爲utf-8python3.x