cn2num
这是一个中文数字(含货币)到阿拉伯数字的python小模块。不依赖于其他的python模块。
原始版本来自于: wswuai/cn2num.py
Installation
pip install cn2num --user
Usage:
import cn2num
cn2num.transform("两百三十万")
A Simple package transform Chinese numerals into Arabic numerals
Homepage Repository PyPI Python
pip install cn2num==0.1.1
这是一个中文数字(含货币)到阿拉伯数字的python小模块。不依赖于其他的python模块。
原始版本来自于: wswuai/cn2num.py
pip install cn2num --user
import cn2num
cn2num.transform("两百三十万")