willsonlincake 发表于 2022-4-7 12:13:28

Python阿拉伯转中文数字

https://pypi.org/project/pycnnum/
print('num:', cn2num('十'))
print('num:', cn2num('一亿六点三'))
c = num2cn(33212222222, numbering_type = 'high', alt_two = True, big = True, traditional= True)
print(c)
页: [1]
查看完整版本: Python阿拉伯转中文数字