Python from Scratch cover

Python from Scratch

No rating yet
Word count
576K words
Chapters
22
ISBN
9787122404510

Tags

Summary

Published by Chemical Industry Press in 2022 and written by Mingri Keji, Python from Scratch is an introductory, hands-on Python tutorial for readers with no prior programming experience. The book runs to four parts and 21 chapters, about 576,000 Chinese characters, and comes with QR-code teaching videos and all program source files. The book proceeds in the order basics, advanced topics, applications, and projects. The basics part begins with setting up Python development environments on Windows, Linux, and macOS, then introduces variables and basic data types, input and output, operators and expressions, program control structures, and operations on common data containers such as sequences, lists, tuples, and strings, before moving on to dictionaries and sets and regular expressions. The advanced part covers functions, modules and packages, object orientation and classes, file I/O, exception handling, and program debugging, helping readers build a complete framework of the language. The applications part introduces turtle graphics and PyQt5 graphical interface design. The projects part closes with three small projects: navigating a maze with turtle graphics, developing a web crawler, and building an AI image recognition assistant, which tie together what has been learned. Code in the book is commented almost line by line, and short sidebars labeled Note, Explanation, and Tip are interspersed. Combined with a teaching rhythm of one concept, one example, one result, and one commentary, this lowers the barrier to self-study. The book suits Python beginners and self-learners in web crawling and artificial intelligence, and can also serve as a textbook or training reference for relevant university courses.

Editor's review

对零基础读者来说,学Python最难的不是语法,而是不知道从哪儿下手、装了环境跑不通、代码看不懂。这本书正是围绕这几点设计的。 第一,脉络清晰。全书4篇21章,从装环境、变量、控制流,到函数、类、文件与异常,再到海龟绘图、PyQt5界面、爬虫和AI图像识别,一条主线走完,不东一榔头西一棒子,读者始终知道自己站在整个知识地图的哪一格。 第二,讲练结合。书中的讲解按“一个知识点、一个例子、一个结果、一段评析”的方式展开,代码几乎逐行加了注释,新手照着敲也能看懂每一行在做什么,而不是只把书上代码抄一遍就算学过。 第三,配套资源较实用。每章都配有扫码即看的视频讲解,另附程序源文件、资源库与题库,卡住时可以对照视频排查,自学时不容易因为一个小环境问题就放弃。 当然,本书面向入门,深度有限:语言层面的原理、性能优化和工程化实践讲得不多,需要读者在入门后继续补充。作为第一本Python学习用书,它把门槛压得很低,把练习排得很密,这一点对新手尤其可贵。

Who it's for

A good fit for

  • 完全没有编程基础、想系统入门Python的初学者
  • 在校大学生,需要一本可按章节推进的Python课程参考书
  • 想自学网络爬虫、图像识别,但语言基础薄弱的转行者
  • 偏好边看视频边敲代码、需要配套素材辅助自学的读者

Not a good fit for

  • 已有Python基础,想深入了解语言原理与底层实现的读者
  • 希望系统学习数据分析、机器学习算法理论的读者
  • 需要工程化、分布式部署等开发经验的中高级程序员

Reading tips

  1. 先照着第1章把开发环境装好并跑通第一个程序,后面的章节才不至于卡在环境问题上
  2. 每章至少亲手敲一遍示例代码,再做课后练习,不要只阅读不运行
  3. 学完第16章后可以开始尝试第19—21章的项目,边做边回头补前面的知识点
  4. 入门完成后换一本讲项目实践或数据分析的书继续进阶,避免停留在语法层面

About the publisher

Chemical Industry Press China · Founded in 1953

Chemical Industry Press is a comprehensive science and technology publisher in China. Public information is limited, but the books in our collection show that its publishing spans popular science and everyday life. For young readers it offers fun experiment and plant science titles such as the "Playing with Science" series and "Fun Science Lessons for Primary Students." It also covers practical books on food, health, and fitness, including guides to growing sprouts and vegetables and to fitness and disease prevention for office workers. In literature and folklore, it includes "Bowu Zhi," "Lakeside," and suspense novels by Keigo Higashino, with authors such as Zhang Hua, Shen Yang, Wang Juan, Urban Farmer, Chen Yujuan, Tang Fuchun, and Yang Zuiye. Overall, its publishing balances popular science with the humanities and practical reading.

Contents

  1. Part 1 Basics
  2. Chapter 1 Starting the Python Journey: Overview, Versions, and Application Areas of Python; Setting Up Windows/Linux/macOS Environments; Troubleshooting Common Installation Problems
  3. Chapter 2 Variables and Basic Data Types
  4. Chapter 3 Communicating with the Computer: Basic Input and Output
  5. Chapter 4 Operators and Expressions
  6. Chapter 5 Program Control Structures
  7. Chapter 6 Common Sequence Operations
  8. Chapter 7 Lists
  9. Chapter 8 Tuples
  10. Chapter 9 Common String Operations
  11. Chapter 10 Regular Expression Operations
  12. Chapter 11 Dictionaries and Sets
  13. Chapter 12 Functions
  14. Chapter 13 Modules and Packages
  15. Chapter 14 Object Orientation and Classes
  16. Chapter 15 File I/O
  17. Chapter 16 Exception Handling and Program Debugging
  18. Chapter 17 Turtle Graphics
  19. Chapter 18 GUI Design with PyQt5
  20. Chapter 19 Web Crawler Development
  21. Chapter 20 Little Turtle Challenges the Great Maze
  22. Chapter 21 AI Image Recognition Assistant

FAQ

这本书适合完全没有编程经验的人吗?
适合。本书是为零基础读者编写的,从安装Python、认识变量和数据类型讲起,对代码逐行注释,还配有扫码视频,没有编程经验也能跟上节奏。不过前期环境搭建仍建议按书中步骤一步步操作。
这本书配有视频和源代码吗?
根据出版社与电商平台介绍,书中各章节配有扫码可观看的教学视频,并提供全部程序源文件和附赠资源库、题库等,方便读者边看边练、遇到问题对照排查。
这本书讲的是Python 2还是Python 3?
书中按Python 3进行编写(介绍变量、字符串、类、文件I/O以及PyQt5等现代用法),具体版本细节以书中第1章“Python的版本”一节的说明为准。
同名书有好几种,怎么确认买的是这一本?
请核对作者为“明日科技”、出版社为“化学工业出版社”、出版年为2022年、ISBN为9787122404510、约360页。市面上还有约翰·保罗·穆勒的第2版(人民邮电出版社)等同名书,注意区分。
看完这本书能直接找工作吗?
本书定位是入门,覆盖语法基础、常用库入门和三个小项目,能帮你建立完整的知识框架和动手能力,但不足以直接胜任开发岗位。建议在此基础上继续学习工程实践、数据库与一个完整项目后再考虑求职。

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

Mingri Technology, whose full name is Jilin Province Mingri Technology Co., Ltd., is a high-tech company specializing in software development, education and training, and the integration of software development educational resources, and it organizes the compilation of computer programming textbooks. Its works are aimed mainly at programming beginners and focus on learning languages such as Python, Java, C#, and SQL, as well as GUI design and web front-end development; its common categories are programming design, computer fundamentals, and software learning. Representative works include the upgraded editions of Python GUI Design, SQL, and Java in the “Zero Foundation Learning” series, along with study notes on HTML+CSS+JavaScript and a complete self-study course on C#. The company has developed textbook series such as “From Beginner to Master” and “Software Development Video Lecture Hall”; related textbooks have received industry and university press awards, and several titles have long ranked among the top sellers in their categories. Public information is limited; the author name is an institutional byline, and the focus is on the compilation and publication of computer programming educational materials.

More by the same author

Top rated in the same category