Skip to main content

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

Project description

<<<bttmb 2.4.5 中文Python库完整介绍>>>

⚽️ 「核心定位」

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

🧱 「版本信息」

当前版本:v2.4.5

🀄️ 「已完成汉化模块」

内置函数、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.5.0 → 2.7.0
  • 仓库地址:仅发布在 PyPI,暂不入驻 GitHub Complete Introduction to bttmb 2.4.5 Chinese Python Library

Core Purpose

Gradually improve and localize Python functions into Chinese, so that programming beginners can get started quickly and easily.

Version Information

Current Version: v2.4.5

Completed Chinese Localized Modules

Built-in functions, turtle, math, random are fully localized. The pygame module is currently under key development.

Target Users

  • Students below level 3: Suitable for learning and easy to use
  • Users above level 4: Can try the pygame module (player-oriented)
  • Large projects (such as sys module): Full Chinese localization is not yet supported

Code Examples

  1. Localized Turtle Graphics

python

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

  1. Basic Built-in Functions Usage

python

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

Author & Related Information

  • Author: BURTTRAVER
  • Feedback & 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 → Future Plans: 2.5.0 → 2.7.0
  • Repository: Only published on PyPI, not available on GitHub temporarily 📄 「许可证」 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.4.9.tar.gz (11.5 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.4.9-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bttmb-2.4.9.tar.gz
Algorithm Hash digest
SHA256 d380c556ca43dc129528e9755a29ac102adf2089c67d99a7911ccc2d97632e96
MD5 6a225207a148a42d601f0290ad867bea
BLAKE2b-256 d1040d754fc948b95e439c8e9e819430926640dd263b8cd290e8ffd3ecf45e58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bttmb-2.4.9-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 119fe8bba3226e28ba96fa6e0e043c4c899b953259f8c8eddf6c3252eb3b5253
MD5 c1a42c7eecb9700067358bc1dc82cadd
BLAKE2b-256 654c7c4ba03ca4aa568f61b5c0ba72542c9766efb9f48ec921d834d4e26b8552

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