gpt4 book ai didi

python - 如何获取我的python3.4中的unicode版本?

转载 作者:行者123 更新时间:2023-11-30 23:15:51 26 4
gpt4 key购买 nike

最新的unicode版本是Unicode 7,根据http://www.unicode.org/versions/ .

python3.4 是基于哪个 Unicode 版本构建的?如何获得?

最佳答案

来自unicodedata module documentation for Python 3.4 :

The data contained in this database is compiled from the UCD version 6.3.0.

unicodedata.unidata_version value告诉您当前安装的 Python 使用的版本; Python 3.4 演示:

>>> import unicodedata
>>> unicodedata.unidata_version
'6.3.0'

Python 3.5(第一个 alpha due out in February 2015 )将使用 Unicode 7.0.0。

关于python - 如何获取我的python3.4中的unicode版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28023846/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com