The Python Language and Its Applications (2nd Edition)
Tags
Summary
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
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
- 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.
- After completing each knowledge domain, review the role that part plays in the overall task to form a knowledge map.
- Rewrite the task situations from the 120 cases using scenarios you are familiar with to test your ability to transfer knowledge.
- 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 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章 Python概述
- 1.1 Python语言简介
- 1.2 Python开发环境配置
- 1.2.1 安装解释器
- 1.2.2 编写程序
- 1.2.3 查看帮助文档
- 1.3 turtle绘图
- 1.3.1 turtle库简介
- 1.3.2 模块导入
- 1.3.3 turtle方法
- 小结
- 实训
- 第2章 对象与人机交互
- 2.1 对象
- 2.1.1 基本数据类型
- 2.1.2 对象属性
- 2.1.3 赋值
- 2.1.4 变量命名规范
- 2.2 人机交互
- 2.2.1 输出函数
- 2.2.2 输入函数
- 小结
- 实训
- 第3章 常用运算
- 3.1 数值运算
- 3.1.1 数字类型
- 3.1.2 数字类型转换
- 3.1.3 数学运算
- 3.1.4 数学运算函数
- 3.1.5 math模块及其应用
- 3.2 逻辑值检测
- 3.3 布尔运算
- 3.4 比较运算
- 3.5 成员运算
- 3.6 运算优先级
- 小结
- 实训
- 第4章 函数
- 4.1 函数定义与调用
- 4.2 参数传递
- 4.2.1 位置传递
- 4.2.2 关键字传递
- 4.2.3 默认值传递
- 4.3 函数变量作用域
- 4.4 递归
- 4.5 匿名函数
- 4.6 常用内置函数
- 小结
- 实训
- 第5章 程序流程控制
- 5.1 结构化程序设计
- 5.2 顺序结构
- 5.3 分支结构
- 5.3.1 单分支
- 5.3.2 二分支
- 5.3.3 多分支结构
- 5.3.4 条件表达式
- 5.4 循环结构
- 5.4.1 while循环
- 5.4.2 for循环
- 5.4.3 多重循环
- 5.5 流程跳转语句
- 5.5.1 break语句
- 5.5.2 else子句
- 5.5.3 continue
- 5.6 异常处理
- 5.6.1 异常
- 5.6.2 try...except子句
- 5.6.3 异常处理的应用
- 小结
- 实训
- 第6章 序列
- 6.1 序列通用操作
- 6.1.1 索引
- 6.1.2 切片
- 6.1.3 序列长度
- 6.1.4 元素出现次数
- 6.1.5 获取子序列序号
- 6.1.6 序列拼接与重复
- 6.1.7 成员测试
- 6.1.8 最大值与最小值
- 6.1.9 多变量赋值
- 6.2 字符串
- 6.2.1 字符串的创建
- 6.2.2 字符串常量
- 6.2.3 字符串遍历
- 6.2.4 常用字符串处理方法
- 6.2.5 字符串格式化
- 6.2.6 转义字符
- 6.3 元组
- 6.3.1 元组的创建
- 6.3.2 元组内置方法
- 6.4 列表
- 6.4.1 列表的创建
- 6.4.2 列表的更新
- 6.4.3 列表的删除
- 6.4.4 列表的排序
- 6.5 random库
- 小结
- 实训
- 第7章 字典与集合
- 7.1 字典
- 7.1.1 字典的创建
- 7.1.2 获取字典值
- 7.1.3 字典的修改
- 7.1.4 字典元素的删除
- 7.1.5 字典排序
- 7.2 集合
- 7.2.1 集合的创建
- 7.2.2 可变集合类型的操作
- 7.2.3 集合成员运算
- 7.2.4 集合关系
- 7.2.5 集合运算
- 7.3 datetime库
- 小结
- 实训
- 第8章 文件
- 8.1 文件的打开与关闭
- 8.2 文件读/写操作
- 8.2.1 文件读取方法
- 8.2.2 文件写入方法
- 8.3 文件的应用
- 8.3.1 CSV格式文件
- 8.3.2 文件与文件夹操作
- 小结
- 实训
- 第9章 数据分析与可视化
- 9.1 网络爬虫
- 9.1.1 网络爬虫概述
- 9.1.2 HTML简介
- 9.1.3 网页结构
- 9.1.4 request模块
- 9.1.5 正则表达式
- 9.1.6 BeautifulSoup模块
- 9.1.7 XPath表达式
- 9.1.8 爬虫协议
- 9.1.9 爬虫的实例
- 9.2 pandas数据处理
- 9.2.1 pandas文件操作
- 9.2.2 Excel文件读取
- 9.2.3 CSV文件读取
- 9.2.4 读数据库
- 9.2.5 读json文件
- 9.2.6 数据查看
- 9.2.7 数据排序
- 9.2.8 数据统计
- 9.3 数据可视化
- 9.3.1 函数绘图
- 9.3.2 标注与美化
- 9.3.3 中文显示
- 9.3.4 绘制多子图
- 9.3.5 数据文件绘图
- 9.3.6 非线性图
- 9.3.7 词云
- 小结
- 实训
- 第10章 面向对象程序设计
- 10.1 面向对象
- 10.1.1 对象
- 10.1.2 类的定义
- 10.1.3 属性
- 10.1.4 方法
- 10.1.5 继承
- 10.2 模块与包
- 10.2.1 模块
- 10.2.2 包
- 10.2.3 标准库
- 10.3 第三方库
- 10.3.1 安装第三方库
- 10.3.2 批量安装第三方库
- 10.3.3 从分发文件安装
- 10.3.4 从源代码安装
- 10.3.5 更新与卸载第三方库
- 小结
- 参考文献
FAQ
Can I read this book directly without any programming background?
Are the cases in the book scattered examples or a coherent task?
Can this book be used to prepare for the Computer Rank Examination Level 2?
Which Python version is the book based on?
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
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.