Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
INSTALL>
pypm install hanzi2pinyin
How to install hanzi2pinyin
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install hanzi2pinyin
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
Lastest release
version 0.1 on Jan 5th, 2011
比较全的字库,包括Unicode中常用的汉字2万多个。
用法:
>>> from hanzi2pinyin import hanzi2pinyin
>>> hanzi2pinyin(u"朱镕基")
System Message: ERROR/3 (<string>, line 11)
Inconsistent literal block quoting.
... zhurongji