Python Programming cover

Python Programming

Rating 3.5
Word count
285 words
Chapters
61
ISBN
9787568926027

Tags

Summary

This book is a textbook for university computer science majors. Using Python as the tool, it adopts a fairly traditional approach and emphasizes that problem solving, design, and programming are core skills in computer science. The book has 13 chapters and two appendices. Chapters 1 to 5 introduce basic knowledge such as computers and programs, writing simple programs, numerical computation, objects and graphics, and string processing. Chapters 6 to 8 cover functions, decision structures, loop structures, and Boolean values. Chapters 9 to 13 focus on more advanced programming methods, including simulation and design, classes, data collections, object-oriented design, algorithm design, and recursion. The appendices provide a quick Python reference and a glossary. Each chapter ends with abundant exercises, including review questions, discussions, and programming exercises, to help readers consolidate the knowledge and skills of that chapter. Python Programming is distinctive, with lively and interesting examples and content that is easy to read and learn. It is suitable for beginning Python programmers and also as a reference for teachers and students in university computer science programs.

Editor's review

Python Programming, published by Chongqing University Press and written by Kong Lingxin, is an introductory Python textbook for programming beginners. The book systematically introduces the basics of Python, with detailed explanations ranging from setting up the development environment, basic syntax, and data types to core concepts such as functions, modules, and object-oriented programming. It combines theory with practice and uses numerous example codes to help readers understand abstract concepts. As a university textbook, it is clearly structured and progressive, particularly suitable for readers with no programming background to build a complete knowledge system. The book covers the features of Python 3.x well and includes practical skills such as file operations and exception handling. However, for readers who already have some programming experience or wish to delve into a specialized area (such as data analysis or web development), the content may be too basic and general, and more specialized materials will be needed for further study. Overall, this is a solid and reliable introductory guide that helps readers build a firm Python foundation.

Who it's for

A good fit for

  • Lower-year students in computer-related majors at colleges and universities
  • Complete beginners who want to learn Python programming systematically
  • Self-learners who need a clearly structured, carefully explained textbook
  • Hobbyists interested in programming who want to learn basic Python syntax

Not a good fit for

  • Developers with extensive programming experience seeking advanced Python techniques or in-depth application in specific domains
  • Readers who want to quickly master a specialized Python library (such as NumPy or Django) for project development

Reading tips

  1. Read in chapter order and practice every code example in the book
  2. Use an online programming environment or a locally installed Python interpreter to practice alongside the text and deepen understanding
  3. After the basic chapters, try using the knowledge to solve simple real-world problems to consolidate learning

About the publisher

Chongqing University Press China · Founded in 1985

Chongqing University Press is a comprehensive university press whose publishing areas span social and cultural studies, industrial technology, finance and economics, medicine, social psychology, and theory. Judging from its catalog, the press publishes both academic works and popular science titles. Representative books include E. H. Gombrich's Shadows: The Depiction of Cast Shadows in Western Art, Magnesium-Based Hydrogen Storage Materials by Pan Fusheng et al., Research on China's Regional Spatial Development Models by Sun Jiuwen, and titles from the Gynecologic Oncology Committee of the Chinese Anti-Cancer Association, such as the Guidelines for Diagnosis and Treatment of Common Gynecologic Malignancies in China (2019) and Bipolar Disorder: What You and Your Family Need to Know. Its authors work in art history, materials science, regional economics, clinical medicine, and social research methods. Public information is limited, but its publishing profile combines academic translation, industrial technology, and practical medical guides.

Contents

  1. 版权信息
  2. 第1章 程序设计与算法
  3. 1.1 程序设计的基本概念
  4. 1.2 程序设计语言
  5. 1.3 算法的基本概念
  6. 1.4 程序设计的基本过程
  7. 第2章 初识Python
  8. 2.1 Python概述
  9. 2.2 Python开发环境
  10. 第3章 Python语言基础
  11. 3.1 Python的数据类型
  12. 3.2 Python的常量、变量
  13. 3.3 Python的运算符和表达式
  14. 3.4 Python的内置函数与模块
  15. 第4章 程序流程控制
  16. 4.1 Python的编程风格
  17. 4.2 顺序结构
  18. 4.3 分支结构
  19. 4.4 循环结构
  20. 4.5 循环控制语句
  21. 4.6 典型案例
  22. 第5章 Python的组合数据结构
  23. 5.1 序列的概念和基本操作
  24. 5.2 字符串
  25. 5.3 列表
  26. 5.4 元组
  27. 5.5 字典
  28. 5.6 集合
  29. 5.7 可变序列的copy
  30. 5.8 典型案例
  31. 第6章 函数
  32. 6.1 函数的定义和调用
  33. 6.2 函数参数的类型
  34. 6.3 变量的作用域
  35. 6.4 匿名函数
  36. 第7章 面向对象程序设计
  37. 7.1 面向对象的几个概念
  38. 7.2 类和对象
  39. 7.3 成员属性
  40. 7.4 成员方法
  41. 7.5 继承和多态
  42. 第8章 文件操作
  43. 8.1 文件的基本概念
  44. 8.2 文件读写
  45. 8.3 其他文件操作
  46. 第9章 正则表达式
  47. 9.1 正则表达式的概念
  48. 9.2 正则表达式模块(re)
  49. 9.3 正则表达式详解
  50. 9.4 综合案例
  51. 第10章 Python与网络爬虫
  52. 10.1 网络爬虫概述
  53. 10.2 相关基础知识
  54. 10.3 相关库介绍
  55. 10.4 综合案例
  56. 第11章 数据分析与绘图基础
  57. 11.1 数据分析基础
  58. 11.2 Numpy数值运算基础
  59. 11.3 pandas数据分析基础
  60. 11.4 Matplotlib绘图基础
  61. 参考文献

FAQ

Does this book use Python 2 or Python 3?
According to the book information, it is mainly based on Python 3.x, in line with current mainstream trends.
Does the book include project practice or comprehensive cases?
As a basic textbook, it focuses on explaining syntax and core concepts and includes many segmented examples, but it may not include large comprehensive project cases.
What level can I reach after finishing this book?
After finishing the book, you will have mastered basic Python syntax, programming concepts, and common features, and be able to write simple scripts and small programs independently, laying a foundation for further study in areas such as data analysis and web development.

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

Kong Lingxin is an author of computer books about whom limited public information is available. Four works can currently be confirmed, mainly aimed at university-level basic computer education and introductory Python programming. Representative works include Python Programming and Python Programming Practice; the former focuses on syntax and programming thinking, while the latter provides practice to help readers apply what they have learned. The other two, University Computer Basics Tutorial and University Computer Basics Practice Tutorial, cover fundamental computer knowledge and hands-on exercises, reflecting an approach that combines theory with practice. His writing centers on programming instruction and university computer basics, often pairing a tutorial with companion practice material and emphasizing learning paths for beginners. As details such as education, positions, and awards are unconfirmed, they are not included here; readers may turn to the works above to understand his writing style.

刘振东 Author

Liu Zhendong is an author about whom little public information is available; his nationality, dates of birth and death, and educational background cannot be confirmed. Judging from the four works held in the collection, his writing spans programming design and medicine, reflecting a fairly broad technical range. Python Programming and Python Programming Practice form a pair, one focusing on language fundamentals and the other on hands-on exercises, suitable for university courses or self-study. University Computer Basics targets general computer education and stays close to classroom needs. The remaining work, on wavelength-switching technology in high-performance liquid chromatography for quality evaluation of traditional Chinese medicine, reflects his professional grounding in analytical chemistry and quality control. Overall, his works are mainly textbooks and research-based titles, emphasizing practicality and applicability for teaching and professional practice.

马亚军 Author

Ma Yajun is a Chinese author of programming books, though publicly available information about him remains limited. His confirmed works are concentrated on teaching the Python language. Two of his books are included in the collection: Python Programming and Python Programming Practice. Both are commonly classified under programming design. The first focuses on explaining language fundamentals and program design concepts, while the second is practice-oriented and complements the first by reinforcing hands-on skills. Judging from the titles and classification, his writing is aimed at beginners and readers who need systematic training in programming, emphasizing the transition from syntax basics to practical coding, with both conceptual explanations and exercises. Overall, Ma Yajun has published only a small number of works, yet within the niche of introductory Python textbooks they form a coordinated pairing that offers readers a relatively coherent learning path.

More by the same author

Top rated in the same category