Skip to main content

中文Python内置函数封装库,让你用中文写代码

Project description

「bttmb 2.5.0 中文Python库完整介绍」

⚽️ 「核心定位」

逐步完善并汉化覆盖 Python 语言,让编程新手也能快速入门学习

🧱 「版本信息」

当前版本:v2.5.0

🀄️ 「已完成汉化模块」

内置函数、turtle、math、random 已全部汉化,当前正在攻坚 pygame 模块

🧍‍♂️ 「适用人群」

  • 三级以下学生:适配学习,轻松上手
  • 四级及以上:可试用 pygame 模块(玩家向)
  • 大项目(如 sys 等模块):暂无法完成完整中文覆盖

💻 「代码示例」

一、汉化海龟绘图

python

import bttmb as 编程 编程.苏醒乌龟(别名="小龟龟") 编程.小龟龟.速度(10)#老玩家注意:speed里的0我搞成了10,新手好懂。 for 次数 in 编程.重复数字(1,11):#新手注意:顾头不顾尾。 编程.小龟龟.前进(100) 编程.小龟龟.后退(100) 编程.小龟龟.左转(36) 编程.小龟龟.隐藏()  

二、基础内置函数使用

python

import bttmb as bc bc.打印("hahh",678) bc.打印(bc.判断质数(7))  

✍️ 「作者与相关信息」

  • 作者:BURTTRAVER
  • 投诉&协作邮箱:13149412996@163.com
  • PyPI 直达链接:https://pypi.org/project/bttmb/
  • 版本更新日志:0.4.0 ➡ 2.0.0 ➡ 2.4.5 ➡ 2.4.9 ➡ 2.5.0[当前版本] ➡ 2.7.0 ➡ 3.0.0 ➡ 3.1.0 ➡ 3.1.5
  • 仓库地址:仅发布在 PyPI,暂不入驻 GitHub 「喵!中国男孩在GitHub失踪了…因为他没有账号!」 📄 「许可证」 MIT License plaintext

{English version} bttmb 2.5.0 Complete Introduction to Chinese Python Library

Core Positioning

Gradually improve and localize in Chinese to cover the Python language, allowing programming beginners to get started quickly and learn easily

Version Information

Current Version: v2.5.0

Localized Modules Completed

Built-in functions, turtle, math, random have all been localized into Chinese; currently focusing on the pygame module

Target Users

  • Students below Level 3: suitable for learning, easy to get started
  • Level 4 and above: can try out the pygame module (for players)
  • Large projects (such as sys and other modules): full Chinese coverage is not yet available

Code Examples

I. Localized Turtle Graphics

python

import bttmb as 编程 编程.苏醒乌龟(别名="小龟龟") 编程.小龟龟.速度(10)#Old players note: I changed 0 in speed to 10 for beginners to understand easily. for 次数 in 编程.重复数字(1,11):#Beginners note: includes the start but excludes the end. 编程.小龟龟.前进(100) 编程.小龟龟.后退(100) 编程.小龟龟.左转(36) 编程.小龟龟.隐藏()  

II. Basic Built-in Function Usage

python

import bttmb as bc bc.打印("hahh",678) bc.打印(bc.判断质数(7))  

Author & Related Information

  • Author: BURTTRAVER
  • Complaint & Collaboration Email: 13149412996@163.com
  • PyPI Direct Link: https://pypi.org/project/bttmb/
  • Version Update Log: 0.4.0 ➡ 2.0.0 ➡ 2.4.5 ➡ 2.4.9 ➡ 2.5.0[Current Version] ➡ 2.7.0 ➡ 3.0.0 ➡ 3.1.0 ➡ 3.1.5
  • Repository Address: Only released on PyPI, not yet available on GitHub 「The Chinese boy went missing on GitHub...because he doesn't have an account!」

III. License MIT License plaintext

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

bttmb-2.5.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bttmb-2.5.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file bttmb-2.5.0.tar.gz.

File metadata

  • Download URL: bttmb-2.5.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for bttmb-2.5.0.tar.gz
Algorithm Hash digest
SHA256 eb74560c4f28544ad1a607f81f5d28f04948c70f3170ee6279e5e1fe5a10c045
MD5 3529ee6f7c05a6e5d1a75f36eb92fd85
BLAKE2b-256 7d42ce53e933855ed467ee7e579b3306eb5479aa44c70e0397ad816c4ce4f29e

See more details on using hashes here.

File details

Details for the file bttmb-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: bttmb-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for bttmb-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af0bb5e03cdbfa1c9b2edd65bb5726803a007af0bbc7da8914fa0d1adae28d7f
MD5 4544ab9be04358b0c2b9804b5528c7e6
BLAKE2b-256 ac6f9196bfd6afc9bc0103ba7a0a45ac3a40ed155f481fee5106354fa92c9731

See more details on using hashes here.

Supported by

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