zhconv icon indicating copy to clipboard operation
zhconv copied to clipboard

命令行含义不明

Open cooper1x opened this issue 4 years ago • 3 comments

https://pypi.org/project/zhconv/1.4.0/#description

这里我试了半天,不知道怎么输入命令执行

python -mzhconv [-w] {zh-cn|zh-tw|zh-hk|zh-sg|zh-hans|zh-hant|zh} < input > output

我试过以下命令,怎么用都是错的

python3 -mzhconv -w zh-cn ./tc/ ./out
python3 -mzhconv -zh-cn ./tc ./out
python3 -mzhconv zh-cn ./tc ./out

cooper1x avatar Feb 27 '20 09:02 cooper1x

https://pypi.org/project/zhconv/1.4.0/#description

这里我试了半天,不知道怎么输入命令执行

python -mzhconv [-w] {zh-cn|zh-tw|zh-hk|zh-sg|zh-hans|zh-hant|zh} < input > output

我试过以下命令,怎么用都是错的

python3 -mzhconv -w zh-cn ./tc/ ./out
python3 -mzhconv -zh-cn ./tc ./out
python3 -mzhconv zh-cn ./tc ./out

我试了几下,发现input文件名要加<>

HugoHann avatar Apr 13 '22 17:04 HugoHann

@HugoHann 好吧, 当年硬是没试出来……

cooper1x avatar Apr 14 '22 00:04 cooper1x

@HugoHann 刚刚试了下,好像只能写文件名不能写目录。

cooper1x avatar Apr 14 '22 00:04 cooper1x