[英]how can get the unicode version in my python3.4?
The latest unicode version is Unicode 7, according to http://www.unicode.org/versions/ . 根据http://www.unicode.org/versions/ ,最新的unicode版本是Unicode 7。
Which Unicode version was python3.4 built on? 哪个Unicode版本是python3.4构建的? How to get it?
怎么弄?
From the unicodedata
module documentation for Python 3.4 : 从Python 3.4的
unicodedata
模块文档 :
The data contained in this database is compiled from the UCD version 6.3.0.
此数据库中包含的数据是从UCD版本6.3.0编译的。
The unicodedata.unidata_version
value tells you the version used your current Python installation; unicodedata.unidata_version
值告诉您使用当前Python安装的版本; demo on Python 3.4: Python 3.4上的演示:
>>> import unicodedata
>>> unicodedata.unidata_version
'6.3.0'
Python 3.5 (first alpha due out in February 2015 ) will use Unicode 7.0.0. Python 3.5( 2015年2月发布的第一个alpha版)将使用Unicode 7.0.0。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.