Python Programming Practice
Tags
Summary
Editor's review
The content is clearly structured and well layered. It begins with development environment setup to lower the entry barrier for beginners, then gradually moves into core modules such as data types, control structures, functions, and object orientation. Each chapter includes abundant examples and exercises; these are not simple syntax repetitions but emphasize problem analysis and solving, such as file processing and introductory data visualization, laying a solid foundation for later study in data analysis, Web development, and other directions.
As a university teacher, Ma Yajun combines academic rigor with teaching practicality; the writing is accurate and plain, avoiding obscure jargon. The code examples are standardized with clear comments, reflecting good engineering practice, which is especially helpful for cultivating standard programming style in beginners. Overall, this is a solid, steady introductory guide. It does not pursue a list of trendy technologies but focuses on helping readers build firm Python programming thinking and solid hands-on ability, making it suitable as a first or main reference book for systematic study.
Who it's for
A good fit for
- First-year undergraduates in computer science or related majors at universities, using it as a companion textbook for programming courses or for self-study.
- Complete beginners with a strong interest in programming who want to systematically master Python from scratch.
- Working professionals in non-technical roles who need programming to improve work efficiency (e.g., office automation, simple data processing).
- Developers with a background in other languages who want to quickly migrate to Python and understand its features and ecosystem.
Not a good fit for
- Senior Python developers seeking in-depth analysis of advanced topics (e.g., metaprogramming, high-performance optimization, source code of complex frameworks).
- Readers who expect to quickly master cutting-edge applications such as machine learning or deep learning from a single book without focusing on the language fundamentals themselves.
Reading tips
- Study strictly in chapter order and be sure to hand-code every section's example code and end-of-chapter exercises; practice is key to realizing the book's value.
- While reading, consult the official Python documentation or online communities; when the book's cases are insufficient, actively search for solutions to develop self-learning ability.
- After mastering the basics, choose an interesting small project (e.g., a crawler or data analysis) based on the appendix or directions mentioned in the book for integrated practice to consolidate the knowledge system.
About the publisher
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部分 实验指导
- 实验1 Python环境实验
- 实验2 程序基础与算法
- 实验3 运算符和表达式练习
- 实验4 顺序结构
- 实验5 分支结构
- 实验6 循环结构实验
- 实验7 多重循环及辅助语句实验
- 实验8 序列实验
- 实验9 字符串实验
- 实验10 列表实验
- 实验11 元组实验
- 实验12 字典练习
- 实验13 集合练习
- 实验14 函数练习
- 实验15 类与对象的基本操作实验
- 实验16 正则表达式
- 实验17 网络爬虫
- 实验18 数据分析
- 实验19 Turtle库实验
- 第2部分 练习题
- 习题1 初识Python
- 习题2 Python语言基础
- 习题3 程序流程控制
- 习题4 Python的组合数据结构
- 习题5 字典与集合
- 习题6 函数
- 习题7 面向对象程序设计
- 习题8 文件
- 参考文献
FAQ
Is this book suitable for people with no programming experience at all?
Is the content outdated? Does it cover new features of Python 3?
What are the main advantages of this book compared with similar introductory books?
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
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.
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.
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.