The Python Language and Its Applications (2nd Edition) cover

The Python Language and Its Applications (2nd Edition)

Rating 3.6
Word count
106K words
Chapters
180
ISBN
9787113314224

Tags

Summary

Adopting a "capability first, knowledge second" inverted-axis teaching philosophy, this book uses scaffolded instruction and 120 carefully selected real-world cases to place learners in complex, realistic task situations. This approach not only strengthens the organic connections among knowledge domains but also promotes cross-disciplinary integration and coordinated use of knowledge points through a unified task context, enhancing the coherence of the learning content. The instructional design aims to help students build a complete programming thinking framework and problem-solving methodology. Written for Python 3.12, the book covers an overview of Python, objects and human-computer interaction, common operations, functions, program flow control, sequences, dictionaries and sets, files, data analysis and visualization, and object-oriented programming. Through this book, readers will gain a deep understanding of core programming principles and further improve their innovative thinking and data analysis skills.

This book is suitable as a textbook for Python programming courses in higher education institutions, and also as a reference for Python programming enthusiasts and for the Computer Rank Examination (Level 2).

Editor's review

The book's distinguishing feature is that it translates the "capability first, knowledge second" inverted-axis philosophy into concrete instructional design: the 120 real-world cases are not scattered examples but are organized into a unified task context, so that functions, flow control, sequences, dictionaries and sets, files, and other knowledge points recur and intersect within the same problem chain, making it easier for readers to grasp the connections among parts rather than memorize syntax in isolation. The content spans from Python 3.12 fundamentals to data analysis and visualization and object-oriented programming, offering fairly complete coverage. For classroom teaching, the scaffolded arrangement helps instructors proceed task by task; for self-learners, the case-driven approach reduces the gap between "understanding" and "being able to write it." Note that the task-context design requires readers to be willing to follow along hands-on; those who only skim will get less out of it. Overall, it works well as a course textbook or a core book for systematic beginners.

Who it's for

A good fit for

  • Teachers and students in higher education Python programming courses who need task-organized teaching materials
  • Self-learners with no prior programming experience who want to build a programming thinking framework through cases
  • Candidates preparing for the Computer Rank Examination (Level 2) Python subject who need to systematically review knowledge points
  • Career changers who know scattered syntax but lack a complete problem-solving methodology

Not a good fit for

  • Readers with years of Python development experience seeking advanced architecture or performance optimization
  • Learners who want to specialize in data analysis libraries (e.g., advanced pandas techniques) rather than programming fundamentals
  • Readers who prefer a pure syntax-reference format and are unwilling to practice along with cases

Reading tips

  1. Follow the unified task context chapter by chapter and type out the code, trying your own implementation first before comparing with the book's approach.
  2. After completing each knowledge domain, review the role that part plays in the overall task to form a knowledge map.
  3. Rewrite the task situations from the 120 cases using scenarios you are familiar with to test your ability to transfer knowledge.
  4. Readers preparing for Level 2 can, after reading through, revisit chapters on functions, flow control, sequences, and files according to the exam syllabus and make summaries.

About the publisher

China Railway Publishing House China · Founded in 1951

China Railway Publishing House has long centered on railway professional publishing while also covering rail transit, industrial technology, programming and design, finance and economics, and exam preparation, with about 194 relevant titles in the collection. Representative books include the Automated Operation (FAO) System for Urban Rail Transit, Design Innovation and Practice for Urban Rail Transit Vehicle Depots, Analysis and Application Management of the Level-One Maintenance Inspection Robot System for Electric Multiple Units, as well as engineering practice titles such as the Engineering Summary of the Guangdong Section of the Ganzhou–Shenzhen Railway and Safety Risk Control Technology and Typical Cases of Shield Tunneling in Beijing Urban Rail Transit Construction. Beyond technical monographs, the publisher also offers practical titles such as Python Programming Fundamentals and tax and accounting treatment for real estate development enterprises, with authors including He Peng, Tang Tao, Ding Shukui, and Sun Changjun. Based on public information, its publishing strength lies in drawing on line engineering and operational practice while balancing professional textbooks and general-audience titles; more complete details of its publishing structure are limited in public sources.

Contents

  1. 版权信息
  2. 内容简介
  3. 高等教育面向“四新”服务的信息技术课程系列教材 编审委员会
  4. 序
  5. 前言
  6. 第1章 Python概述
  7. 1.1 Python语言简介
  8. 1.2 Python开发环境配置
  9. 1.2.1 安装解释器
  10. 1.2.2 编写程序
  11. 1.2.3 查看帮助文档
  12. 1.3 turtle绘图
  13. 1.3.1 turtle库简介
  14. 1.3.2 模块导入
  15. 1.3.3 turtle方法
  16. 小结
  17. 实训
  18. 第2章 对象与人机交互
  19. 2.1 对象
  20. 2.1.1 基本数据类型
  21. 2.1.2 对象属性
  22. 2.1.3 赋值
  23. 2.1.4 变量命名规范
  24. 2.2 人机交互
  25. 2.2.1 输出函数
  26. 2.2.2 输入函数
  27. 小结
  28. 实训
  29. 第3章 常用运算
  30. 3.1 数值运算
  31. 3.1.1 数字类型
  32. 3.1.2 数字类型转换
  33. 3.1.3 数学运算
  34. 3.1.4 数学运算函数
  35. 3.1.5 math模块及其应用
  36. 3.2 逻辑值检测
  37. 3.3 布尔运算
  38. 3.4 比较运算
  39. 3.5 成员运算
  40. 3.6 运算优先级
  41. 小结
  42. 实训
  43. 第4章 函数
  44. 4.1 函数定义与调用
  45. 4.2 参数传递
  46. 4.2.1 位置传递
  47. 4.2.2 关键字传递
  48. 4.2.3 默认值传递
  49. 4.3 函数变量作用域
  50. 4.4 递归
  51. 4.5 匿名函数
  52. 4.6 常用内置函数
  53. 小结
  54. 实训
  55. 第5章 程序流程控制
  56. 5.1 结构化程序设计
  57. 5.2 顺序结构
  58. 5.3 分支结构
  59. 5.3.1 单分支
  60. 5.3.2 二分支
  61. 5.3.3 多分支结构
  62. 5.3.4 条件表达式
  63. 5.4 循环结构
  64. 5.4.1 while循环
  65. 5.4.2 for循环
  66. 5.4.3 多重循环
  67. 5.5 流程跳转语句
  68. 5.5.1 break语句
  69. 5.5.2 else子句
  70. 5.5.3 continue
  71. 5.6 异常处理
  72. 5.6.1 异常
  73. 5.6.2 try...except子句
  74. 5.6.3 异常处理的应用
  75. 小结
  76. 实训
  77. 第6章 序列
  78. 6.1 序列通用操作
  79. 6.1.1 索引
  80. 6.1.2 切片
  81. 6.1.3 序列长度
  82. 6.1.4 元素出现次数
  83. 6.1.5 获取子序列序号
  84. 6.1.6 序列拼接与重复
  85. 6.1.7 成员测试
  86. 6.1.8 最大值与最小值
  87. 6.1.9 多变量赋值
  88. 6.2 字符串
  89. 6.2.1 字符串的创建
  90. 6.2.2 字符串常量
  91. 6.2.3 字符串遍历
  92. 6.2.4 常用字符串处理方法
  93. 6.2.5 字符串格式化
  94. 6.2.6 转义字符
  95. 6.3 元组
  96. 6.3.1 元组的创建
  97. 6.3.2 元组内置方法
  98. 6.4 列表
  99. 6.4.1 列表的创建
  100. 6.4.2 列表的更新
  101. 6.4.3 列表的删除
  102. 6.4.4 列表的排序
  103. 6.5 random库
  104. 小结
  105. 实训
  106. 第7章 字典与集合
  107. 7.1 字典
  108. 7.1.1 字典的创建
  109. 7.1.2 获取字典值
  110. 7.1.3 字典的修改
  111. 7.1.4 字典元素的删除
  112. 7.1.5 字典排序
  113. 7.2 集合
  114. 7.2.1 集合的创建
  115. 7.2.2 可变集合类型的操作
  116. 7.2.3 集合成员运算
  117. 7.2.4 集合关系
  118. 7.2.5 集合运算
  119. 7.3 datetime库
  120. 小结
  121. 实训
  122. 第8章 文件
  123. 8.1 文件的打开与关闭
  124. 8.2 文件读/写操作
  125. 8.2.1 文件读取方法
  126. 8.2.2 文件写入方法
  127. 8.3 文件的应用
  128. 8.3.1 CSV格式文件
  129. 8.3.2 文件与文件夹操作
  130. 小结
  131. 实训
  132. 第9章 数据分析与可视化
  133. 9.1 网络爬虫
  134. 9.1.1 网络爬虫概述
  135. 9.1.2 HTML简介
  136. 9.1.3 网页结构
  137. 9.1.4 request模块
  138. 9.1.5 正则表达式
  139. 9.1.6 BeautifulSoup模块
  140. 9.1.7 XPath表达式
  141. 9.1.8 爬虫协议
  142. 9.1.9 爬虫的实例
  143. 9.2 pandas数据处理
  144. 9.2.1 pandas文件操作
  145. 9.2.2 Excel文件读取
  146. 9.2.3 CSV文件读取
  147. 9.2.4 读数据库
  148. 9.2.5 读json文件
  149. 9.2.6 数据查看
  150. 9.2.7 数据排序
  151. 9.2.8 数据统计
  152. 9.3 数据可视化
  153. 9.3.1 函数绘图
  154. 9.3.2 标注与美化
  155. 9.3.3 中文显示
  156. 9.3.4 绘制多子图
  157. 9.3.5 数据文件绘图
  158. 9.3.6 非线性图
  159. 9.3.7 词云
  160. 小结
  161. 实训
  162. 第10章 面向对象程序设计
  163. 10.1 面向对象
  164. 10.1.1 对象
  165. 10.1.2 类的定义
  166. 10.1.3 属性
  167. 10.1.4 方法
  168. 10.1.5 继承
  169. 10.2 模块与包
  170. 10.2.1 模块
  171. 10.2.2 包
  172. 10.2.3 标准库
  173. 10.3 第三方库
  174. 10.3.1 安装第三方库
  175. 10.3.2 批量安装第三方库
  176. 10.3.3 从分发文件安装
  177. 10.3.4 从源代码安装
  178. 10.3.5 更新与卸载第三方库
  179. 小结
  180. 参考文献

FAQ

Can I read this book directly without any programming background?
Yes. The book starts with an overview of Python and human-computer interaction, uses scaffolded instruction, and lets task contexts drive the cases, making it suitable for absolute beginners. However, readers need to write code hands-on; reading the text alone is not enough to absorb it fully, so it is advisable to practice in a Python 3.12 environment while reading.
Are the cases in the book scattered examples or a coherent task?
According to the introduction, the book selects 120 real-world cases and places them in a unified task context, aiming to make different knowledge points intersect and work together within the same problem, thereby enhancing the coherence of the learning content rather than presenting isolated syntax demonstrations.
Can this book be used to prepare for the Computer Rank Examination Level 2?
The introduction explicitly states that it can serve as a reference for Python programming enthusiasts and for the Computer Rank Examination (Level 2). The book covers fundamentals such as functions, program flow control, sequences, dictionaries and sets, and files; when preparing, you can revisit relevant chapters according to the exam syllabus.
Which Python version is the book based on?
The book is written for Python 3.12 and covers an overview of Python, objects and human-computer interaction, common operations, functions, program flow control, sequences, dictionaries and sets, files, data analysis and visualization, and object-oriented programming.

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

赵广辉 Author

Zhao Guanghui is an author with a work included in the programming and design book category. Public information about him is currently limited, and his nationality, dates of birth and death, and full career history cannot be confirmed. The only work listed in the database is Python Language and Its Applications (2nd Edition), a book in the programming and design category that covers the fundamentals and applications of the Python language for readers who want to learn it systematically. Judging from the book's positioning, the author focuses on introductory programming and practical use of the language, with an approach that aims to explain the language clearly and help readers put it to work. Because only one work is listed and no reliable information about the author's identity or experience is available, no speculation is made here about his education, positions, honors, or professional background. Readers who wish to learn more about Zhao Guanghui can consider the book's chapter structure and explanatory style; further information may be added if new material becomes available.

Top rated in the same category