Python Programming Case Tutorial cover

Python Programming Case Tutorial

Rating 3.6
Word count
199K words
Chapters
89
ISBN
9787115452139

Tags

Summary

The book consists of 12 chapters, offering a detailed introduction to all aspects of Python programming. It begins with the history of Python, explaining its advantages and what Python can do, before guiding readers step by step through the fundamentals: data types, composite data types, control statements and functions, classes and inheritance.

The book also explores module creation and use, package import, file operations, debugging, and exceptions. To deepen readers' understanding of Python programming, the chapter "Advanced Program Development" covers object-oriented programming, functional programming, multithreading, and the thread and threading modules. Chapter 10 on regular expressions and Chapter 11 on network programming introduce two application areas of Python. Each of the first 11 chapters includes exercises, combining conceptual explanation with after-class practice to help readers consolidate the knowledge and skills they have acquired.

The final chapter provides a detailed walkthrough of three popular Python applications—web crawling, data processing, and Web development—each accompanied by a concrete mini-project so readers can practice hands-on while following the authors' reasoning. This book is a practical learning guide, suitable for undergraduates, graduate students, and big data practitioners who have some foundation in computer programming languages.

Editor's review

Python Programming: A Case-Based Tutorial is published by Posts & Telecom Press. Both authors, Zhang Zongxia and Xu Guangxia, have university computer science teaching backgrounds, which makes the book's knowledge framework notably rigorous and systematic. The book adopts a case-driven approach as its core teaching philosophy: rather than simply listing syntax, it guides readers through examples grounded in real applications to understand programming logic and problem-solving approaches. This structure significantly lowers the entry barrier for beginners while avoiding the tedium of purely theoretical exposition. The cases cover key areas including basic syntax, data processing, file operations, and simple algorithms, reflecting a smooth progression from introduction to practice. As an introductory textbook for university students or self-learners, its depth is moderate, focusing on building solid programming fundamentals and procedural thinking. However, readers seeking deep integration of cutting-edge technologies (such as machine learning or Web development) may find the book somewhat basic. Overall, this is a clearly structured, highly practical classic introductory tutorial whose value lies in building readers a solid, extensible foundation in Python.

Who it's for

A good fit for

  • Lower-year students in computer-related majors at colleges and universities, as a practical guide to accompany coursework.
  • Self-learners with no programming background who want to study Python systematically and seek a clear path from easy to advanced.
  • Professionals who need to quickly master basic Python syntax and fundamental programming logic for introductory scenarios such as data analysis.
  • Hands-on learners who prefer understanding abstract concepts through concrete cases and exercises.

Not a good fit for

  • Intermediate and advanced developers who already have a solid grasp of Python basics and wish to delve into specific domains (such as deep learning or web crawling frameworks).
  • Readers seeking a minimalist quick-reference syntax manual or tips; the book's case-based teaching style may feel slow-paced.

Reading tips

  1. It is recommended to study the chapters in order and to personally write and debug the code for every case—this is key to grasping the essence of the book.
  2. While reading, try modifying the cases slightly to solve similar small problems of your own, thereby consolidating knowledge and sparking curiosity.
  3. In conjunction with the practical sections, consult official documentation or more specialized library manuals to expand your understanding of specific modules.

About the publisher

Posts & Telecom Press China · Founded in 1953

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. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 入门
  5. 1.1 Python的发展历程
  6. 1.2 为什么使用Python
  7. 1.3 Python可以做些什么
  8. 1.4 Python的优点
  9. 1.5 Python和其他语言的比较
  10. 1.6 项目开始
  11. 1.7 本章小结
  12. 1.8 本章习题
  13. 第2章 数据类型
  14. 2.1 标识符与关键字
  15. 2.2 Integral类型
  16. 2.3 浮点类型
  17. 2.4 字符串
  18. 2.5 本章小结
  19. 2.6 本章习题
  20. 第3章 组合数据类型
  21. 3.1 列表
  22. 3.2 元组
  23. 3.3 字典
  24. 3.4 集合
  25. 3.5 组合数据类型的高级特性
  26. 3.6 本章小结
  27. 3.7 本章习题
  28. 第4章 控制语句与函数
  29. 4.1 控制语句
  30. 4.2 函数
  31. 4.3 本章小结
  32. 4.4 本章习题
  33. 第5章 模块和包
  34. 5.1 为什么使用模块
  35. 5.2 模块的创建与使用
  36. 5.3 包导入实例
  37. 5.4 本章小结
  38. 5.5 本章习题
  39. 第6章 类和继承
  40. 6.1 类和对象
  41. 6.2 实例属性和类属性
  42. 6.3 类的方法
  43. 6.4 构造函数
  44. 6.5 析构函数
  45. 6.6 运算符的重载
  46. 6.7 继承
  47. 6.8 本章小结
  48. 6.9 本章习题
  49. 第7章 文件和I/O
  50. 7.1 文件基础知识
  51. 7.2 文件操作
  52. 7.3 目录操作
  53. 7.4 本章小结
  54. 7.5 本章习题
  55. 第8章 程序开发进阶
  56. 8.1 面向对象程序设计进阶
  57. 8.2 函数式编程
  58. 8.3 多线程编程
  59. 8.4 本章小结
  60. 8.5 本章习题
  61. 第9章 调试及异常
  62. 9.1 调试
  63. 9.2 Python中的异常类
  64. 9.3 捕获和处理异常
  65. 9.4 两种处理异常的特殊方法
  66. 9.5 raise语句
  67. 9.6 采用sys模块回溯最后的异常
  68. 9.7 本章小结
  69. 9.8 本章习题
  70. 第10章 正则表达式
  71. 10.1 简介
  72. 10.2 简单模式
  73. 10.3 使用正则表达式
  74. 10.4 更多模式功能
  75. 10.5 修改字符串
  76. 10.6 常见问题
  77. 10.7 本章小结
  78. 10.8 本章习题
  79. 第11章 网络编程
  80. 11.1 网络编程
  81. 11.2 因特网应用层客户端
  82. 11.3 Python网络编程实例
  83. 11.4 本章小结
  84. 11.5 本章习题
  85. 第12章 应用实例
  86. 12.1 网络爬虫
  87. 12.2 数据处理
  88. 12.3 基于Django的Web开发
  89. 12.4 本章小结

FAQ

Is this book suitable for someone with no programming experience at all?
Very much so. The book adopts a case-driven teaching method, starting from the most basic environment setup and syntax, and builds programming concepts by completing concrete cases step by step. It is very friendly to zero-background readers.
Are the cases in this book outdated?
The cases focus on illustrating core programming logic and basic Python syntax, knowledge that is stable over the long term. Although some newer syntactic sugar or third-party libraries may not be covered, the problem-solving methods and programming thinking it teaches are not outdated and are a reliable choice for building a solid foundation.
What level can I reach after finishing this book?
After finishing, you will have a firm grasp of Python's core syntax, basic data structures, function usage, file operations, and procedural programming concepts. You will be able to independently write small scripts to solve practical problems, laying a solid foundation for advancing into data analysis, office automation, or more specialized development fields.

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

Xu Guangxia is an author about whom little public information is available. The only work recorded here is Python Programming Case Tutorial, catalogued under programming design. The book takes the Python language as its subject and is organized as a case-based tutorial, making it a practical text aimed at introductory programming and application. Judging by its subject matter, the author focuses on basic instruction and hands-on exercises in a programming language rather than on theoretical exposition or advanced research; the phrase “case tutorial” in the title suggests that the content is built around workable examples that help readers grasp syntax and problem-solving ideas through practice. Since this is the only work listed, it is not possible to judge the full range of the author's writing style, nor to confirm background, institutional affiliation, or other publications. On the available evidence, Xu Guangxia's writing is directed toward introductory Python teaching and case-based practice, serving the basic training needs of programming learners.

常光辉 Author

Chang Guanghui is an author about whom little public information is available. All that is currently known is that the author wrote Python Programming Case Tutorial, a book classified under programming and design. Judging from the title and category, the work is intended for beginners in programming and introduces the basic usage of the Python language and programming practice through a case-driven approach, making it an introductory textbook that emphasizes hands-on operation and application. The author's name does not appear to be an institutional or editorial designation, so it should be a personal byline; however, no reliable records have been found regarding nationality, dates of birth and death, educational background, professional identity, or awards, and the English name cannot be confirmed. For this reason, no excessive speculation about the author's life is appropriate. Based on the available information, Chang Guanghui's writing focuses on programming instruction and practical case exercises. Although the number of works is small, it reflects an approach that uses examples to drive learning and may serve readers who wish to become familiar with Python through concrete cases.

解绍词 Author

Xie Shaoci is an author for whom limited public information is currently available. One work by this author is included in the collection, namely Python Programming Case Tutorial, categorized under programming and design. Judging from the title and category, the book is intended for introductory and instructional settings in programming, organized in the form of a case-based tutorial. It most likely covers the fundamentals of the Python language, programming approaches, and practical applications, with an emphasis on helping readers understand and practice through concrete examples. Since reliable records of the author's biography, nationality, and professional background have not been found, it is difficult to know the full extent of the author's experience and writing. Nevertheless, the writing appears practical and instructional, stressing hands-on operation and step-by-step explanation. Such a textbook may offer some reference value for beginners encountering programming and for Python courses in universities or training institutions, and it reflects the author's attention to and engagement with making programming education more accessible.

黄德玲 Author

Huang Deling: publicly available information is limited, and the only confirmed fact is that this author writes books on programming and design. The library holds one work by this author, Python Programming Case Tutorial. The book falls under the category of programming and design, and its title indicates that it organizes the study of the Python language around case-based teaching, focusing on explaining programming methods and approaches through concrete examples rather than simply listing grammar points. Tutorials of this kind are usually aimed at beginners or learners who need hands-on practice; they connect knowledge points through cases and help readers understand the basic usage of Python and programming logic while completing the examples. Because no other background information about the author is available in public sources, nothing can be verified about the author's life, nationality, or professional position, and this profile makes no speculation on those points. On the basis of the available material, Huang Deling's writing centers on introductory Python programming and case-based practice. The output is small in quantity but clear in subject, serving the needs of programming teaching and self-study, and it offers some reference value to readers who wish to master Python through cases.

Top rated in the same category