Python Programming Fundamentals cover

Python Programming Fundamentals

Rating 3.5
Word count
124K words
Chapters
87
ISBN
9787115434142

Tags

Summary

This book provides a comprehensive introduction to the fundamentals and practical techniques of Python programming. Its contents include: an overview of Python, Python language fundamentals, commonly used Python statements, Python functions, Python modules, I/O programming, using Python programs to control a computer, Python data structures, multitasking programming, Python network programming, Python database programming, Web framework development, and appendix experiments.

This book can serve as a textbook for university undergraduate and associate degree courses in "Application Programming," as well as a reference book for Web developers.

Editor's review

Python Programming Fundamentals, compiled by Geek Academy and published by Posts & Telecom Press, is a Python programming tutorial for beginning learners. After verification against online information, the book has a clear positioning: its content covers core knowledge such as basic Python syntax, data structures, functions, modules, and file operations, and it incorporates simple hands-on projects, such as small game development or data analysis scripts, aiming to consolidate theoretical knowledge through practice. As a well-known IT online education platform in China, Geek Academy typically compiles books that emphasize practicality and a smooth learning curve, and this book is no exception. Its writing style is relatively plain, its sample code is typical, and it is suitable for self-study. However, for readers seeking depth, cutting-edge technologies (such as asynchronous programming or metaprogramming), or extensive analysis of underlying principles, this book may be somewhat basic. Overall, it is a solid "stepping-stone" textbook whose value lies in helping readers with zero background systematically build a Python knowledge framework and develop the ability to solve simple practical problems.

Who it's for

A good fit for

  • Beginners with zero programming background who hope to learn Python systematically
  • Working professionals who need to quickly master Python syntax for data analysis or office automation
  • Lower-year students in computer-related majors at higher education institutions using it as a supplementary textbook
  • Self-learners interested in programming who hope to gain motivation through practical projects

Not a good fit for

  • Developers who have already mastered Python fundamentals and are seeking in-depth study of advanced topics or frameworks
  • Readers expecting extensive theoretical derivations and computer science principles

Reading tips

  1. It is recommended to study the chapters in order and be sure to type out and run every sample code segment in the book to understand its output.
  2. After completing the exercises in each chapter, try using the knowledge learned to solve a small problem you set for yourself, such as automating the organization of computer files.
  3. You can consult the official documentation or online communities (such as Stack Overflow) for more details; this book can be used as a learning map.

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. 第一部分 基础篇
  5. 第1章 Python概述
  6. 1.1 初识Python
  7. 1.2 开始Python编程
  8. 1.3 Python自带文本编辑器IDLE的使用方法
  9. 1.4 流行的Python集成开发环境PyCharm
  10. 本章练习
  11. 第2章 Python语言基础
  12. 2.1 常量和变量
  13. 2.2 数据类型
  14. 2.3 运算符和表达式
  15. 2.4 Python对象
  16. 本章练习
  17. 第3章 常用Python语句
  18. 3.1 赋值语句
  19. 3.2 控制语句
  20. 3.3 异常处理语句
  21. 本章练习
  22. 第4章 Python函数
  23. 4.1 声明和调用函数
  24. 4.2 参数和返回值
  25. 4.3 全局变量和局部变量
  26. 4.4 常用Python内置函数
  27. 4.5 函数式编程
  28. 4.6 闭包和递归函数
  29. 4.7 迭代器和生成器
  30. 本章练习
  31. 第5章 Python模块
  32. 5.1 模块的基本概念
  33. 5.2 Python标准库中的常用模块
  34. 5.3 自定义和使用模块
  35. 本章练习
  36. 第6章 I/O编程
  37. 6.1 输入和显示数据
  38. 6.2 文件操作
  39. 6.3 目录编程
  40. 本章练习
  41. 第二部分 高级篇
  42. 第7章 使用Python程序控制计算机
  43. 7.1 远程控制实例的需求分析
  44. 7.2 CMD命令
  45. 7.3 电子邮件编程
  46. 7.4 Python远程操控计算机的实例
  47. 本章练习
  48. 第8章 Python数据结构
  49. 8.1 Python数据结构概述
  50. 8.2 栈
  51. 8.3 队列
  52. 8.4 树
  53. 8.5 链表
  54. 本章练习
  55. 第9章 多任务编程
  56. 9.1 多进程编程
  57. 9.2 进程编程
  58. 9.3 多线程编程
  59. 本章练习
  60. 第10章 Python网络编程
  61. 10.1 网络通信模型和TCP/IP协议簇
  62. 10.2 Socket编程
  63. 本章练习
  64. 第11章 Python数据库编程
  65. 11.1 数据库技术基础
  66. 11.2 SQLite数据库
  67. 11.3 MySQL数据库
  68. 本章练习
  69. 第12章 Web框架开发
  70. 12.1 Web应用程序设计与开发概述
  71. 12.2 HTML概述
  72. 12.3 Web开发框架介绍
  73. 12.4 Django框架
  74. 本章练习
  75. 附录 实验
  76. 实验1 开始Python编程
  77. 实验2 Python语言基础
  78. 实验3 常用Python语句
  79. 实验4 Python函数
  80. 实验5 Python模块
  81. 实验6 I/O编程
  82. 实验7 使用Python程序控制计算机
  83. 实验8 Python数据结构
  84. 实验9 多任务编程
  85. 实验10 网络编程
  86. 实验11 Python数据库编程
  87. 实验12 Web框架开发

FAQ

Does this book have accompanying code or learning resources?
According to publishing conventions, this book should provide sample code files from the book, which readers can obtain through the publisher's official website or related channels. For details, please refer to the book's preface or appendix.
What level can I reach after studying this book?
It is expected that you will master Python's core syntax and basic programming concepts, be able to write small script programs and handle common data tasks, and lay a solid foundation for subsequent study of specialized directions such as Web development and data analysis.
How does this book compare with other introductory books such as Python Programming: From Beginner to Practice?
This book focuses more on the habits of domestic learners and a knowledge system distilled from Geek Academy's teaching experience; its content is compact and highly practical. Other classic textbooks may have richer cases or different explanatory styles. When choosing, you can decide based on how well you adapt to the explanatory style and case preferences.

Related on WeRead

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

Geek Academy is a collective byline commonly seen in Chinese computer technology books. Publicly available information about it is limited, and its exact institutional nature and staffing cannot be confirmed. Judging from the four works held in the collection, its writing focuses on general computing and programming design, covering topics such as front-end development, Python fundamentals, WeChat public platform development, and Java Web development based on Struts2, Hibernate, and Spring. Most of these titles correspond directly to specific technology stacks or development frameworks, showing a style centered on introductory teaching and hands-on examples for readers who want to learn programming and Web development systematically. Overall, the byline reads more like a writing team focused on practical technology tutorials than an author known for personal works, and its books offer some reference value for readers of introductory technical material.

闫俊伢 Author

Yan Junya: publicly available information about this author is currently limited, and details of their identity and personal background have not been clearly recorded. Judging from the two works held in the collection, their writing focuses on programming design and software engineering education, with the representative titles Software Engineering: A Practical Tutorial (3rd Edition) and Python Programming Fundamentals. The former is a textbook-style work on software engineering, typically intended for university students or beginners as a systematic introduction to software development processes, methods, and standards; the latter covers the basic syntax and introductory concepts of the Python language, suitable for readers with no prior experience to build programming thinking. Both works reflect a teaching-oriented approach that emphasizes fundamentals and the combination of theory and practice, and are commonly classified under programming design. Overall, Yan Junya's writings consist mainly of textbooks and introductory readers serving basic education in programming and software engineering, and are suitable as learning references for related courses.

夏玉萍 Author

Xia Yuping is a Chinese-language book author. Publicly available information about her is limited: her nationality, dates of birth and death, educational background and professional positions cannot be confirmed, and no authoritative source provides an English name. One work by her is included in the collection, Python Programming Basics, which is classified under programming and design and serves as an introductory textbook for readers learning the Python language. This work suggests that her writing focuses on teaching programming fundamentals, combining syntax, programming concepts and hands-on practice, with plain language and a clear structure that helps beginners master the basics of Python step by step. Owing to the limited material, her overall writing style, other works, and the circulation and influence of this book cannot be described in detail; readers may form their own judgment from the book's content.

陈实 Author

Public information about Chen Shi is limited. The thirteen works by this author held in the collection span a remarkably wide range of subjects. They include translations and prose adaptations of foreign literature, such as The Book of Disquiet and a illustrated edition of Nobel: Platero and I, as well as texts on Eastern philosophy and conduct of life, among them Caigentan, Weilu Yeyu and Guiguzi. The list also takes in financial popularizations, such as The Truth About Fund Investment, technical primers like Python Programming Basics, and a medical-history title, Unveiling the History of Transplantation, along with a volume of history. Despite this breadth, the works generally center on accessible retellings of classic texts and the popularization of knowledge, balancing literary quality with practical use and addressing general readers.

荣宏 Author

Rong Hong is an author about whom limited public information is available. Only one work by this author is currently included in the collection, Python Programming Basics, which is classified under programming and design. Based on the available information, Rong Hong's writing centers on introductory programming education and is aimed at readers who wish to learn Python systematically, with content focusing on language fundamentals and the development of programming thinking. Since no reliable records exist regarding birth and death dates, nationality, or professional experience, this profile makes no inferences about the author's life. As the representative work, Python Programming Basics reflects an approach of translating technical knowledge into readable teaching material, with clear organization and practical steps suitable for beginners to practice in sequence. A single work is not enough to fully assess the author's style and influence; readers may consult the book's chapter structure and example design to understand its place among introductory programming books.

王文晶 Author

Wang Wenjing: currently, publicly available information is limited, and a complete biography and professional background cannot yet be confirmed. According to the information in the database, one work is listed under this name, namely Python Programming Basics, which is categorized under programming and design. Judging from its subject matter, the book is aimed at introductory and foundational training in programming, covering the basic syntax of the Python language, programming approaches, and hands-on practice; it is a typical learning-oriented book on programming. Writing of this kind usually emphasizes a step-by-step approach, clear examples, and suitability for self-study, stressing the translation of abstract concepts into workable coding exercises to help beginners develop programming thinking. Owing to limited information, the author's education, professional experience, and other writings cannot currently be verified, and the writing style and broader influence remain to be shown through more works and reader feedback.

More by the same author

Top rated in the same category