Python Applications and Practice cover

Python Applications and Practice

Rating 3.4
Word count
133K words
Chapters
126
ISBN
9787121450846

Tags

Summary

This book provides a systematic introduction to the main syntactic features of Python, with a practice-oriented design. Simple, easy-to-understand application cases are built around specific knowledge points, and one or more practical training tasks appear at the end of each chapter, each explaining the programming implementation process step by step according to development procedures. Readers can work through these training tasks to quickly master Python programming through hands-on practice. The book has 14 chapters. Chapters 1–7 mainly introduce Python's syntactic features, including an overview of Python, Python fundamentals, program control structures, functions and modules, composite data types, object-oriented programming, and file operations; chapters 8–14 mainly introduce practical knowledge of Python in various application fields, including network programming, web crawling, database programming, data analysis, data visualization, Pygame game programming, and AI vision applications—face recognition. The content is organized from the simple to the deep, balancing depth and breadth of the Python language. It serves complete beginners as well as professionals with higher programming goals, and is also suitable as a Python textbook for students in computer science and related majors at colleges and universities.

Editor's review

This book divides Python learning into two parts: syntax and application. The first seven chapters cover an overview of the language, basic syntax, program control structures, functions and modules, composite data types, object-oriented programming, and file operations; the last seven chapters move on to practical areas such as network programming, web crawling, databases, data analysis, data visualization, Pygame game programming, and face recognition. Its standout feature is that each knowledge point comes with a simple application case, and each chapter ends with one or more training tasks that explain the implementation process step by step according to development procedures, so readers can follow along and understand syntax through programming. The content is organized from the simple to the deep, accommodating complete beginners while leaving room for learners with higher goals, making it suitable as a textbook for university Python courses or as a main line for self-study. When reading, it is recommended to build a solid foundation in syntax through the first seven chapters, then choose directions of interest in the last seven chapters for deeper exploration, and to complete the training tasks independently rather than copying. Note that the application chapters are introductory-level practice and cannot replace specialized, in-depth textbooks in each field.

Who it's for

A good fit for

  • Complete beginners who want to systematically learn Python syntax and practice hands-on
  • University students in computer science and related majors who need a Python textbook with chapter-end training tasks
  • Readers who already know basic syntax and want to explore application areas such as web crawling, data analysis, and visualization
  • Self-learners who prefer to learn by doing, driven by training tasks

Not a good fit for

  • Developers already proficient in Python who are looking for advanced features, engineering architecture, or performance optimization
  • Readers who only want to look up syntax and are unwilling to complete the training tasks
  • Professionals who want to go deep into a single application area (e.g., deep learning, large-scale web crawling engineering)

Reading tips

  1. Read the first seven chapters in order and complete each chapter's training tasks, making sure there are no gaps in functions, modules, composite data types, and object-oriented programming.
  2. For the last seven chapters, first skim each application area, then choose two or three areas of interest and focus on completing their training tasks.
  3. Implement each training task on your own following the steps first, then compare with the book's process to check for differences—avoid simply copying code.
  4. After finishing, use a small project to tie together file operations, data processing, and visualization to test comprehensive application skills.

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. 版权信息
  2. 内容简介
  3. 编委会
  4. 前言
  5. 第1章 Python语言概述
  6. 1.1 初识Python语言
  7. 1.2 Python开发环境
  8. 1.3 实训任务——第一个Python程序
  9. 本章总结
  10. 作业与练习
  11. 第2章 Python语言基础知识
  12. 2.1 Python程序的书写规范
  13. 2.2 Python的数据类型和变量
  14. 2.3 标识符和关键字
  15. 2.4 Python的运算符
  16. 2.5 实训任务1——数据交换
  17. 2.6 实训任务2——时间换算
  18. 2.7 实训任务3——简单加密算法
  19. 本章总结
  20. 作业与练习
  21. 第3章 程序控制结构
  22. 3.1 基本结构
  23. 3.2 分支结构
  24. 3.3 循环结构
  25. 3.4 程序控制的其他语句
  26. 3.5 程序的异常处理
  27. 3.6 实训任务1——数学计算器
  28. 3.7 实训任务2——质数生成器
  29. 3.8 实训任务3——分解质因数
  30. 3.9 实训任务4——猜数游戏
  31. 本章总结
  32. 作业与练习
  33. 第4章 函数与模块
  34. 4.1 函数的定义和调用
  35. 4.2 函数的参数和返回值
  36. 4.3 函数的递归
  37. 4.4 Python内置函数
  38. 4.5 Python模块
  39. 4.6 实训任务1——斐波那契数列
  40. 4.7 实训任务2——人脸检测与识别模块
  41. 本章总结
  42. 作业与练习
  43. 第5章 组合数据类型
  44. 5.1 列表
  45. 5.2 元组
  46. 5.3 字典
  47. 5.4 集合
  48. 5.5 实训任务1——计算分数序列
  49. 5.6 实训任务2——投票选举班长
  50. 本章总结
  51. 作业与练习
  52. 第6章 面向对象编程
  53. 6.1 面向对象编程概述
  54. 6.2 创建类和对象
  55. 6.3 构造方法和析构方法
  56. 6.4 类的继承
  57. 6.5 类的多态
  58. 6.6 运算符重载
  59. 6.7 实训任务1——学生信息管理系统
  60. 6.8 实训任务2——员工薪资计算
  61. 本章总结
  62. 作业与练习
  63. 第7章 文件操作
  64. 7.1 文件的概念
  65. 7.2 文件的打开与关闭
  66. 7.3 文件的读/写操作
  67. 7.4 文件和目录操作
  68. 7.5 使用CSV文件格式读/写数据
  69. 7.6 使用JSON文件格式读/写数据
  70. 7.7 实训任务1——文件管理器
  71. 7.8 实训任务2——图书管理系统
  72. 本章总结
  73. 作业与练习
  74. 第8章 网络编程
  75. 8.1 网络编程基础
  76. 8.2 UDP编程
  77. 8.3 TCP编程
  78. 8.4 多线程编程
  79. 8.5 同步、异步、阻塞和非阻塞
  80. 8.6 requests模块
  81. 8.7 实训任务——网络聊天室
  82. 本章总结
  83. 作业与练习
  84. 第9章 网络爬虫
  85. 9.1 网络爬虫概述
  86. 9.2 使用Python获取网页数据
  87. 9.3 使用BeautifulSoup
  88. 9.4 数据持久化与请求头
  89. 9.5 实训任务——图书信息的收集与保存
  90. 本章总结
  91. 作业与练习
  92. 第10章 数据库编程
  93. 10.1 数据库简介
  94. 10.2 安装MySQL数据库
  95. 10.3 操作MySQL数据库
  96. 10.4 实训任务——将图书信息保存到MySQL中
  97. 本章总结
  98. 作业与练习
  99. 第11章 数据分析
  100. 11.1 数据分析基础
  101. 11.2 NumPy基础
  102. 11.3 pandas基础
  103. 11.4 SciPy基础
  104. 11.5 实训任务——使用pandas统计毕业招聘信息
  105. 本章总结
  106. 作业与练习
  107. 第12章 数据可视化
  108. 12.1 数据可视化简介
  109. 12.2 Matplotlib基础
  110. 12.3 seaborn数据可视化进阶
  111. 12.4 实训任务——连锁店库存数据分析
  112. 本章总结
  113. 作业与练习
  114. 第13章 Pygame游戏编程
  115. 13.1 Pygame游戏库
  116. 13.2 Pygame事件
  117. 13.3 Pygame绘图
  118. 13.4 实训任务——贪吃蛇游戏实现
  119. 本章总结
  120. 作业与练习
  121. 第14章 AI视觉应用——人脸识别
  122. 14.1 图像相关知识
  123. 14.2 人脸识别原理
  124. 14.3 实训任务——人脸注册与识别
  125. 本章总结
  126. 作业与练习

FAQ

Can I learn this book with absolutely no programming background?
Yes. Chapters 1–7 start from an overview of Python and basic knowledge, progress from the simple to the deep, and include simple cases and end-of-chapter training tasks, making them suitable for complete beginners to study in order. It is recommended to run the examples on a computer while reading, and to practice rewriting and modifying the control structure or function sections you don't understand.
How in-depth are the application chapters in the last seven chapters?
The last seven chapters cover network programming, web crawling, databases, data analysis, visualization, Pygame, and face recognition. They are positioned as introductory-level practice, using cases and training tasks to help readers build an overall understanding and complete simple applications. To go deeper in any one direction, you will still need to read specialized books and documentation in that field.
Do I need to complete all the training tasks in each chapter?
It is recommended to complete as many as possible. The training tasks explain the implementation process step by step according to development procedures and are an important link for understanding how syntax connects to application. If time is limited, prioritize the training tasks related to syntax in the first seven chapters, then choose application training tasks from the last seven chapters according to interest—but do not skip the hands-on part entirely.
Is this book suitable for use as a university textbook?
Yes. The book has 14 chapters, with a clear division between the syntax part and the application part, and each chapter includes training tasks and step-by-step development explanations, making it easy to arrange classroom teaching and lab exercises. Teachers can choose to teach the first seven chapters in detail and select topics from the last seven chapters according to class hours, and students can also practice independently based on the training tasks.

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

Wang Kefei: public information is limited, and at present only two computer-related works are known, namely Java Application and Practice and Python Application and Practice. Judging from the titles and their classification, his writing is aimed at programming beginners and engineering practice, covering the basic syntax, development environments, and project applications of the two mainstream languages, and belongs to the typical hands-on technical textbook category. Such books usually emphasize practical exercises and case-based implementation, with plain language and clear steps that make it easy for readers to learn while doing. The two works together cover both Java and Python, indicating that the author focuses on cross-language introductory programming teaching and can respond to the technology choices of different learners. For readers who wish to get started quickly and complete small projects, these books offer reference value. Because biographical and professional information is lacking, his identity, background, research direction, and academic experience cannot be confirmed; the above introduction is based solely on the works recorded in the database and makes no further inferences.

蒋贵良 Author · Chinese

Jiang Guiliang is a Chinese author about whom little public information is available. The database contains only one work under this name, Python Applications and Practice, which is categorized under general computer science. Based on this limited information, his writing focuses on the practical application of programming languages, using Python as an entry point for readers who want hands-on practice. In the absence of biographical and academic details, it is difficult to assess his professional background or the full scope of his writing. His work can nonetheless be identified as a technical application book that emphasizes combining a language tool with real-world scenarios. For readers seeking to understand how Python is put into practice, such a title may offer some reference value. A fuller evaluation of his writing style and influence would require more works and author information.

孟雪梅 Author

Meng Xuemei: public information is limited. The only confirmed work is Python Applications and Practice, listed under the general computing category. Judging from the title, the book addresses the practical application of the Python language and hands-on project work, combining introductory programming with skills training. Books of this kind tend to emphasize operability, using examples to introduce syntax and tools so that readers can learn while practicing. Meng Xuemei's writing follows this approach, focusing on application rather than merely listing language features. For readers who want to use Python to solve practical problems, the work offers an accessible entry point for practice. Since no reliable public information is available about the author's education, profession, or research direction, no speculation is made here; this note only briefly describes the orientation of the existing work.

More by the same author

Top rated in the same category