python3和python2的區別

一、核心類差別 Python3 對 Unicode 字符的原生支持。   Python2 中使用 ASCII 碼做爲默認編碼方式致使 string 有兩種類型 str 和 unicode,Python3 只Python2 中使用 ASCII 碼做爲默認編碼方式致使 string 有兩種類型 str 和 unicode,Python3 只 支持 unicode 的 string。Python2 和
相關文章
相關標籤/搜索