cn2an icon indicating copy to clipboard operation
cn2an copied to clipboard

📦 快速转化「中文数字」和「阿拉伯数字」~ (最新特性:分数,日期、温度等转化)

Results 26 cn2an issues
Sort by recently updated
recently updated
newest added

#43 与这类似,猜测是因为cn2an存在隐藏的依赖,是代码规范问题 **测试代码** ``` import cn2an t = cn2an.Transform() print(t.transform("零八八八八")) ``` **打包命令** `pyinstaller -F test.py` 过程中warnings ``` 6634 WARNING: Hidden import "pkg_resources.py2_warn" not found! 6634 WARNING: Hidden import "pkg_resources.markers" not...

bug

找了整个网络都没看见打包成功的案例,我只能自己上手打包。 pyinstaller win py3.8.8 │ ├─dist │ │ amain.exe │ │ 程序运行错误记录.py │ │ │ └─配置表 │ 产品配置表.xlsx │ ├─ui_file │ load_file.ui │ main_ui.ui │ main_ui1.ui │ zhcdict.json │ ├─__pycache__...

您好,在测试”一亿两千万三百万四百五十六“时无法解析, 我测试了一下要写成”一亿两千三百万零四百五十六“才行, 虽然我也知道小学就教过这里要写这个”零“,但是这个地方甲方爸爸不想写,出事了乙方全责,您看有什么办法可以支持一下吗?

你好,我用pyinstaller 打包py文件,然后exe执行,会出错,出错信息如下。 (docparser) PS C:\Users\49476\glory\work\code_test\dist\main> .\main.exe Traceback (most recent call last): File "main.py", line 2, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "",...

1、 输入:原价都是全国统一零售价它是幺三八 输出:原价都是全国统10售价它是138 统一零售价不用转吧 2、 输入:卖到几十块钱 输出:卖到几10块钱 我理解几十块钱也不需要转吧 _Originally posted by @mengxifeng in https://github.com/Ailln/cn2an/issues/26#issuecomment-693155113_

有些不需要转换成数字的场景,例如:咨询一下,七上八下,也会转换成数字。

bug

![1599654744819](https://user-images.githubusercontent.com/6059548/92598589-97659d00-f2db-11ea-8e3d-6af8f65006f9.jpg) 这个格式为啥不正常呢,是不是可以升级支持下类似的啊 _Originally posted by @mengxifeng in https://github.com/Ailln/cn2an/issues/10#issuecomment-689532422_

**Describe the bug** 1百01识别错误 **Screenshots** ![Code_2022-10-16_21-32-19](https://user-images.githubusercontent.com/3147776/196032986-355fc660-8ca1-4e71-9ee3-8e5c5a3cf59f.png) **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following...

bug

File "PyInstaller\loader\pyimod02_importers.py", line 344, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\_MEI200602\\cn2an\\config.yaml'

一半——10.5 十点半——10点0.5 四姑凉山——4姑凉山 一亿——100000000(没必要,1亿即可)