Python Programming Tutorial cover

Python Programming Tutorial

Rating 3.5
Word count
254K words
Chapters
89
ISBN
9787115494627

Tags

Summary

The main contents of this book include: Chapter 1 Introduction to the Python Language, Chapter 2 Data Types, Operators, and Expressions, Chapter 3 Program Flow Control, Chapter 4 Sequences: Strings, Lists, and Tuples, Chapter 5 Mapping and Collection Types, Chapter 6 Functions, Chapter 7 Object-Oriented Programming, Chapter 8 Modules and Packages, Chapter 9 Exceptions, Chapter 10 Files, Chapter 11 Python Database Programming, Chapter 12 tkinter GUI Programming, and Chapter 13 Project Development Examples.

Editor's review

As an introductory textbook for university computer science and related majors, Python Programming Tutorial has a clear positioning and a complete structure. Published by Posts & Telecom Press and edited by Chen Peiqiang, ISBN 9787115494627, the book is notable for closely combining theory and practice, with content arranged according to a step-by-step learning progression. From Python language fundamentals, data types, functions, and modules to object-oriented programming, file operations, and exception handling, and finally to network programming and database applications, the structure is clearly layered. As a tutorial, it does not pursue clever language tricks but focuses on solid foundations and standard programming thinking. The book includes numerous sample codes and end-of-chapter exercises, which greatly help beginners consolidate knowledge and practice hands-on. Compared with some Python books that pursue quick results or showy techniques, this book is more steady and solid, making it better suited as a roadmap for systematic study. Of course, its depth stays mostly at the application level; readers who want to study Python's underlying mechanisms or specific fields (such as big data analysis or machine learning) in depth may need more specialized books afterward. Overall, this is a competent, conventional introductory textbook, especially suitable for use under teacher guidance or within a course framework.

Who it's for

A good fit for

  • Lower-year students in computer science, software engineering, and similar university programs using it as their first programming language textbook
  • Self-taught programmers who want to systematically learn Python fundamentals and build a complete knowledge system
  • Readers who need a clearly structured, comprehensive reference on Python syntax and basic applications
  • Non-developers in IT-related jobs who want to understand Python to support their work

Not a good fit for

  • Readers who have already mastered basic Python syntax and want to study specialized advanced applications such as data analysis or artificial intelligence
  • Urgent learners seeking many real-world project cases and hoping to get up to speed quickly by completing full projects

Reading tips

  1. Follow the chapters in order rather than skipping, since later knowledge often depends on concepts from earlier chapters
  2. Be sure to type in and run every sample code in the book and understand its output; this is the most effective way to learn programming
  3. Complete the exercises after each chapter carefully; this is key to checking your learning and consolidating memory, and you can review the corresponding chapter whenever you get stuck

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章 Python语言简介
  5. 1.1 什么是Python语言
  6. 1.2 Python语言的发展历史
  7. 1.3 Python语言的特点
  8. 1.4 Python语言的应用
  9. 1.5 Python的安装
  10. 1.6 第一个Python程序
  11. 小结
  12. 习题
  13. 第2章 数据类型、运算符及表达式
  14. 2.1 Python程序基本结构
  15. 2.2 基本输入和输出
  16. 2.3 数据类型
  17. 2.4 运算符
  18. 小结
  19. 习题
  20. 第3章 程序流程控制
  21. 3.1 控制结构
  22. 3.2 选择结构
  23. 3.3 循环结构
  24. 小结
  25. 习题
  26. 第4章 序列
  27. 4.1 字符串
  28. 4.2 列表
  29. 4.3 元组
  30. 小结
  31. 习题
  32. 第5章 映射和集合类型
  33. 5.1 映射类型——字典
  34. 5.2 集合类型
  35. 小结
  36. 习题
  37. 第6章 函数
  38. 6.1 函数的定义
  39. 6.2 函数的调用
  40. 6.3 函数参数
  41. 6.4 函数的嵌套定义和lambda函数定义
  42. 6.5 函数的递归调用和函数序列调用
  43. 6.6 函数变量的作用域
  44. 小结
  45. 习题
  46. 第7章 模块和包
  47. 7.1 命名空间
  48. 7.2 模块
  49. 7.3 包
  50. 小结
  51. 习题
  52. 第8章 文件
  53. 8.1 文件的打开与关闭
  54. 8.2 文件的读写
  55. 8.3 文件的备份和删除
  56. 8.4 文件夹的创建和删除
  57. 小结
  58. 习题
  59. 第9章 面向对象编程
  60. 9.1 理解Python的面向对象
  61. 9.2 定义和使用类
  62. 9.3 类、对象的属性和方法
  63. 9.4 类的组合
  64. 9.5 继承与派生
  65. 9.6 运算符重载和模块中的类
  66. 9.7 异常处理
  67. 9.8 实例:用户注册信息
  68. 小结
  69. 习题
  70. 第10章 Python数据库编程
  71. 10.1 访问SQLite数据库
  72. 10.2 访问MySQL数据库
  73. 10.3 实例:加入数据库的用户注册信息系统
  74. 小结
  75. 习题
  76. 第11章 tkinter GUI编程
  77. 11.1 tkinter编程基础
  78. 11.2 tkinter组件
  79. 11.3 实例:基于GUI的用户注册信息系统
  80. 小结
  81. 习题
  82. 第12章 Django框架Web编程
  83. 12.1 Django框架与MTV模式
  84. 12.2 创建Django项目
  85. 12.3 Django项目的高级配置
  86. 12.4 Template模板
  87. 12.5 实例:学生信息管理
  88. 小结
  89. 习题

FAQ

Is this book suitable for someone with no programming background at all?
Very suitable. As a programming tutorial, it starts from the most basic variables and data types and assumes zero prior knowledge. The explanations are detailed, making it an ideal introductory programming book.
Is the code in this book based on Python 2 or Python 3?
Judging from the book's publication date (around 2018) and mainstream teaching trends, the content should be written for Python 3. Readers should also install a Python 3 environment to ensure compatibility.
What level can I reach after finishing this book?
After finishing, readers will master Python's core syntax and object-oriented programming concepts, be able to use Python for file processing, basic network communication, and database operations, and be capable of using Python to solve general programming problems, laying a solid foundation for advancing to web development, data analysis, and other directions.

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

Chen Peiqiang is a Chinese author of programming books, about whom limited public information is available. Two works can currently be confirmed, one on Python programming and the other on advanced Java development technology. Judging from their titles and categories, his writing is aimed at university teaching and readers new to programming, covering basic syntax, program design methods, and advanced Java development, and his books commonly appear in programming design and examination-related categories. One work is a tutorial and the other a university textbook, suggesting that the author tends to organize knowledge in a systematic, step-by-step textbook style suited to classroom teaching and self-study. Overall, Chen Peiqiang is known mainly for textbook writing, and his works offer learners introductory and advanced references in computer programming education, though information about his personal background remains insufficient.

More by the same author

Top rated in the same category