zhpy1
The python language in chinese
Usage
zhpy [{-i | -p}]
input
[-o]
[output]
[-e]
[encoding]
[-v]
Options
-i --input:
speficy the input source
-o --output:
speficy the output source
-p --python:
compile to python and run
-c --cmp:
input raw zhpy source and run
-e --encoding:
specify the encoding
--info:
zhpy information
-v --verbose:
show zhpy progress in detail
--tw:
convert python to twpy
--cn:
convert python to cnpy
interpreter usage:
zhpy [--tw | --cn]
$ zhpy input.py (.twpy, .cnpy) [arguments]
$ zhpy -i input.py (.twpy, .cnpy)
$ zhpy -i input.py -o output.py (.twpy, .cnpy)
$ zhpy -p input.py
script usage:
zhpy [-c] source [-e] [encoding] [-v]
converter usage:
zhpy [--tw | --cn] input.py [-v]
$ zhpy --tw input.py [-v]
$ zhpy --cn input.py [-v]
Help
get more information:
zhpy --info
Releases
Unchanged in 5 releases since Debian 6.0 (Squeeze).