Zpy Lib - Chinese programming lib
Project description
Zpy Lib
Zpy Lib - Chinese programming lib
快速开始
- 通过pip安装
pip install zpylib
- 创建后缀为
.zpy
的文件(例:test.zpy
)
touch test.zpy
- 编写代码
星星数 = 12
如果 星星数 % 2 != 1:
星星数 += 1
对于 层数 在 范围(舍入((星星数-1)/2)+1):
星星 = '*'*(层数*2+1)
打印(星星.center(星星数, " "))
- 通过命令行运行文件
zpy run test.zpy
- 编译成python文件
zpy build test.zpy
Project details
Release history Release notifications | RSS feed
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 details)
Built Distribution
zpylib-0.2.5-py3-none-any.whl
(240.6 kB
view details)
File details
Details for the file zpylib-0.2.5.tar.gz
.
File metadata
- Download URL: zpylib-0.2.5.tar.gz
- Upload date:
- Size: 170.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2610f25c295acfc3d825efbb8efa71364f3d11f4f130e52f6544e844e66293db |
|
MD5 | fc99aa3e8da07ff21643b98595d603d4 |
|
BLAKE2b-256 | e50c01608dc2f200db96470063c230f87c8b37bf41b8ae82fda9f8ff7e2de604 |
File details
Details for the file zpylib-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: zpylib-0.2.5-py3-none-any.whl
- Upload date:
- Size: 240.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fde8301cb2c8f436f0852a45c385634f74b34f32d5fc36fd6e5c58fcbaf42254 |
|
MD5 | f7229f460f80d626bf84dbb473c02ea7 |
|
BLAKE2b-256 | 55992ae5f3527faafae14d4d33aed47f7d3957b3a199a2552d45f1d385aa5201 |