Skip to main content

Zpy Lib - Chinese programming lib

Project description

Zpy Lib

Zpy Lib - Chinese programming lib

快速开始

  1. 通过pip安装
pip install zpylib
  1. 创建后缀为.zpy的文件(例:test.zpy
touch test.zpy
  1. 编写代码
星星数 = 12
如果 星星数 % 2 != 1:
    星星数 += 1
对于 层数 在 范围(舍入((星星数-1)/2)+1):
    星星 = '*'*(层数*2+1)
    打印(星星.center(星星数, " "))
  1. 通过命令行运行文件
zpy run test.zpy
  1. 编译成python文件
zpy build test.zpy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zpylib-0.2.5.tar.gz (170.9 kB view hashes)

Uploaded Source

Built Distribution

zpylib-0.2.5-py3-none-any.whl (240.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page