Skip to main content

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

Project description

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

⚽️ 「核心定位」

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

🧱 「版本信息」

当前版本:v2.7.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.7.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.7.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.7.0.tar.gz (13.2 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.7.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bttmb-2.7.0.tar.gz
Algorithm Hash digest
SHA256 0985b440f8fe3c72396a434834eb70d403f9de3b12f857530aa89e8788cd985c
MD5 80c8ff6bf3b86a683ca393ed62ac19c0
BLAKE2b-256 60abaf0a546f7dc2d9235e0d5e8c05b2cd81e4c7718ee26462a85ff0b15fb796

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bttmb-2.7.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11d1d143860ac40d5cc3420664d826de5cf19f70801b413d1e21bf9ce7690721
MD5 e6b53c0c97df2f29349759a156dd34b2
BLAKE2b-256 815584c3f0fa78a754df6cd9f9de9bb1102888462e274f0efcfcd24f6da12353

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