Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命令行含义不明 #4

Open
cooper1x opened this issue Feb 27, 2020 · 3 comments
Open

命令行含义不明 #4

cooper1x opened this issue Feb 27, 2020 · 3 comments

Comments

@cooper1x
Copy link

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
@HugoHann
Copy link

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文件名要加<>

@cooper1x
Copy link
Author

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

@cooper1x
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants