Skip to main content

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

Project description

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

⚽️ 「核心定位」

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

🧱 「版本信息」

当前版本:v3.0.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 3.0.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: v3.0.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 ➡ 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-3.0.0.tar.gz (14.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-3.0.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bttmb-3.0.0.tar.gz
Algorithm Hash digest
SHA256 11c13424d6dfd4c27cde2485320c47cb9c966cc747d22669ffb84f7651aa4f41
MD5 ee3fd9d9f66ebcedf113d354b475d87a
BLAKE2b-256 86801dc367bd760a9c5c2f29815999f6f0f832be17b6180da9f9f8ab0d262d8a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bttmb-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2be0f5f6b8d4d561b38cd4e5985634be703d1d1d41fcd73fbba3f93c0cd8b4bf
MD5 26c55fdb93a0b7357fb517640c721b2e
BLAKE2b-256 b34bfe3b6bbe6f998c0a0b20da093930842724cb18cdded133e4d495a12f9001

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