---
name: "zhpy"
section: "1"
platform: "linux"
package: "python-zhpy"
version: "1.7.3.1-1.1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/zhpy"
---

# zhpy(1)

the python language in chinese

## 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
