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

[TODO]提供执行打包工具 #2

Closed
GoogleCodeExporter opened this issue Aug 8, 2015 · 2 comments
Closed

[TODO]提供执行打包工具 #2

GoogleCodeExporter opened this issue Aug 8, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

当前 zhpy 的标准使用过程是:
1. 写好中文脚本
2. 通过zhpy 生成正常脚本
3. 调用python 环境执行

都是手工执行的,不利于实用脚本的实时调试,
建议给出自动联级执行方式,
e.g:
zhpy -p my.py
就自动完成以上2~3, 实际输出的是
python my_py.py(生成后的脚本名)
的执行

Original issue reported on code.google.com by Zoom.Quiet on 10 Aug 2007 at 2:11

@GoogleCodeExporter
Copy link
Author

可以用

1. 写好中文脚本
2. 通过 zhpy 執行

如

{{{
$ zhpy hello.py
}}}

zhpy 會呼叫 exec 動態執行轉換好的 python code


自动联级执行方式不錯, 下一版用 optparse 弄個強一點的 
command line 工具好了

Original comment by gasolin on 10 Aug 2007 at 5:54

@GoogleCodeExporter
Copy link
Author

新的 optparse command line 工具。

add "-p": "compile to python and run" option, which generate python source with 
'n_'
prefix. in svn [52]

Original comment by gasolin on 15 Aug 2007 at 4:15

  • Changed state: Fixed

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

No branches or pull requests

1 participant