My Python World
Tags
Summary
This book offers a brand-new experience of learning programming while playing games and is suitable for readers interested in Python programming. Games are no longer just for playing; you will simultaneously experience the roles of super player, designer and programmer.
Editor's review
Who it's for
A good fit for
- Complete beginners interested in programming, especially young readers
- Newcomers who want to learn Python through project practice
- Teachers or parents looking for fun programming examples
- Beginners seeking to build logical thinking and problem-solving skills
Not a good fit for
- Advanced developers who need to understand Python's underlying mechanisms
- Readers looking for extensive algorithm or data structure content
Reading tips
- Work through each example in chapter order, making sure you understand the code line by line
- Practice alongside an online coding environment to verify your results promptly
- After the basic chapters, try modifying example parameters on your own to draw inferences
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- 版权信息
- 内容提要
- 前言
- 1 Python基础
- 1.1 Python的历史
- 1.2 Python的发展
- 1.3 Python的优缺点
- 1.4 Python的适用领域
- 1.5 Python的安装与使用
- 1.6 关键字
- 1.7 数字
- 1.8 变量
- 1.9 程序的基本结构
- 1.10 掷骰子
- 1.11 While
- 2 字符串、列表和字典
- 2.1 字符串
- 2.2 列表
- 2.3 函数
- 2.4 猜词游戏
- 2.5 字典
- 2.6 元祖
- 2.7 异常
- 2.8 函数汇总
- 3 类库和方法
- 3.1 库
- 3.2 面向对象
- 3.3 定义类
- 3.4 继承
- 3.5 文件
- 3.6 侵蚀化
- 3.7 网络
- 4 《Minecraft我的世界》
- 4.1 《Minecraft》是什么
- 4.2 准备工作
- 4.3 欢迎来到《我的世界》
- 4.4 位置坐标
- 4.5 玩家的位置
- 4.6 弹射区域
- 5 剑球游戏
- 5.1 建造球场
- 5.2 击打事件处理
- 5.3 球的移动
- 5.4 异常情况
- 5.5 出界与进球
- 6 剑球进阶
- 6.1 特殊规则
- 6.2 显示数字
- 6.3 球门上的比分
- 6.4 CSV文件
- 6.5 彩蛋:TNT来了
- 6.6 显示时间
- 7 五子棋
- 7.1 绘制棋盘
- 7.2 落子
- 7.3 五子相连
- 7.4 重新开始
- 8 图片扫描仪
- 8.1 像素画
- 8.2 项目介绍
- 8.3 操作菜单
- 8.4 扫描操作
- 8.5 复印操作
- 8.6 演示操作
- 8.7 完整的代码
- 9 硬件控制
- 9.1 Raspberry Pi的硬件接口
- 9.2 串口通信
- 9.3 比特开关
- 附录 方块材质名称对照表
FAQ
Does this book require readers to have a background in math or English?
Do the cases in the book require installing additional software?
How is this book different from other Python introductory books?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Cheng Chen is an author active in the field of popular Chinese-language computer books; public information about him is limited, and his nationality, dates of birth and death, and educational background cannot be confirmed. Judging from the five works held in the collection, his writing spans visual programming, hardware electronics, introductory Python, HarmonyOS application development, and web game creation. Representative titles include Scratch Programming Basics and Algorithm Advancement, Redstone Electronics, My Python World, Introduction to HarmonyOS App Development, and Learning JavaScript Web Game Development the Easy Way. These books are mostly aimed at beginners and young readers, emphasizing project-based practice over abstract concepts and weaving algorithmic thinking, circuit fundamentals, and coding skills into small hands-on examples that balance interest with a low barrier to entry. His works commonly fall under programming design and general computing categories and suit readers at the introductory stage. Overall, Cheng Chen's writing leans toward practical popular science, stressing hands-on learning and step-by-step progression, giving him a fairly distinct profile among entry-level technology books.