Scroll to navigation

zhpy(1) User Commands zhpy(1)

NAME

zhpy - the python language in chinese
 

SYNOPSIS


zhpy [-i | -p] input [-o] [output] [-e] [encoding] [-v]
 

ACCEPT 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
Jan 2008 zhpy 1.7.1