Python 3.5 from Scratch cover

Python 3.5 from Scratch

Rating 3.2
Word count
620K words
Chapters
18
ISBN
9787302475965

Tags

Summary

Python 3.5 from Scratch is a beginner's Python tutorial written by Liu Yuzhou and published by Tsinghua University Press in August 2017. It runs to roughly 620,000 Chinese characters across 376 pages, is based on Python 3.5, and is aimed at readers with no programming background at all. The book proceeds in the order of "environment first, syntax next, applications last": Chapter 1 introduces Python's origins, its uses, the new features from 2.7 to 3.5, and environment setup on Windows, Linux/UNIX, and Mac OS; Chapters 2–5 systematically cover basic programming concepts, data types such as integers, floats, and complex numbers, variables and keywords, the various operators, string operations, and core data structures such as lists, tuples, and dictionaries; Chapters 6–8 move on to conditionals and loops, functions (parameters, scope, recursion, anonymous functions, partial functions), and object-oriented programming (classes, inheritance, polymorphism, encapsulation); Chapters 9–16 cover practical topics including exception handling, dates and times, regular expressions, file operations, multithreading, sending and receiving email, network programming, and database operations; Chapters 17–18 close with two projects demonstrating the development process for a web crawler and for data analysis. In terms of organization, the book emphasizes combining explanation with practice: besides the main text and extensive sample code, each chapter has fixed sections such as "Debugging," "Questions and Answers," and "Review and Apply," and some chapters include small "Try It Yourself" projects and exercises such as a word-guessing game, quicksort, and travel advice, helping beginners find errors and consolidate knowledge through hands-on practice. The author writes in an accessible style, often using small everyday examples to explain abstract concepts, and the sample code is relatively readable and practicable. The book is suitable as a teaching text for Python online courses, training classes, and college programming courses.

Editor's review

Python入门书不少,但这本有几点比较实在。 第一,门槛真的低。开篇不谈抽象概念,先带你装好Windows、Linux、Mac上的解释器,敲出第一个“hello world”,再一步步讲程序、变量、运算符;作者习惯拿生活里的小事情打比方,复杂语法被拆成能看懂的小块。 第二,讲练咬得紧。每章后面固定有“调试”“问题解答”“温故知新,学以致用”三个栏目,中间还穿插“牛刀小试”小项目——猜字游戏、快速排序、出行建议,都是能亲手敲完的代码,不是只让你读的样例。 第三,覆盖面够完整。从列表、元组、字典这些数据结构,到函数、面向对象、异常、正则、文件、多线程、网络编程、数据库,最后落到爬虫和数据分析两个实战项目,一本书能把入门到“能做出点东西”的路走通。 需要提醒的是,书中内容以Python 3.5为基准,部分库的用法与写法在后续版本已有变化,阅读时建议对照当前Python官方文档修正。另外豆瓣评分6.5(30人评价),评价两极,说明其通俗风格有人受用、也有人嫌条理松散。把它当作带路的入门教材、配合动手敲代码,价值最大。

Who it's for

A good fit for

  • 完全没接触过编程、想从零学Python的在校学生和自学者
  • 需要一本结构完整、章节清晰的教学用书的Python培训讲师
  • 希望把基础知识与爬虫、数据分析实战连起来学一遍的转行新手
  • 习惯跟着示例代码边读边敲、喜欢短小练习的动手型读者

Not a good fit for

  • 已经熟练使用Python、想深入源码、性能优化或框架原理的进阶开发者
  • 只想要最新Python版本(3.10及以上)写法与生态的读者
  • 希望专攻数据分析或算法、需要深度专业内容而非入门全景的读者

Reading tips

  1. 先照第1章把自己的电脑环境装好,别跳过这一章,后面的示例都跑在这个环境上。
  2. 每章读完一定动手复现示例,并做“牛刀小试”和章末练习,只看不敲收效很有限。
  3. 遇到书中的库或语法写法与当前Python版本不一致时,以官方文档为准,记录差异做笔记。
  4. 第17、18章两个项目建议放在学完全书后集中做,用来检验前面语法与模块的掌握程度。

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Chapter 1 Entering the Wonderful World of Python 3.5
  2. Chapter 2 Starting the Python Journey
  3. Chapter 3 Lists and Tuples
  4. Chapter 4 Strings
  5. Chapter 5 Dictionaries
  6. Chapter 6 Conditionals, Loops, and Other Statements
  7. Chapter 7 Functions
  8. Chapter 8 Object-Oriented Programming
  9. Chapter 9 Exceptions
  10. Chapter 10 Dates and Times
  11. Chapter 11 Regular Expressions
  12. Chapter 12 File Operations
  13. Chapter 13 Multithreading
  14. Chapter 14 Sending and Receiving Email
  15. Chapter 15 Network Programming
  16. Chapter 16 Working with Databases
  17. Chapter 17 Project Practice: Web Crawler
  18. Chapter 18 Project Practice: Data Analysis

FAQ

这本书适合零基础的人读吗?
适合。本书明确面向Python新手编写,从安装环境、认识程序开始讲起,语言通俗、示例丰富,每章还设有调试与问题解答栏目,不需要先具备编程经验。
书里的Python 3.5内容现在还适用吗?
基础语法(数据类型、流程控制、函数、面向对象、异常等)基本长期稳定,仍然适用;但部分标准库用法、第三方库安装方式和写法在新版本中已有变化,建议对照当前官方文档修正后再运行。
这本书有配套代码或课件吗?
出版社图书页面设有“资源下载”栏目,但常显示暂无课件与网络资源;书中示例代码需由读者按书手工录入,这也更利于入门阶段熟悉语法。
书中包含实战项目吗?
包含。全书最后两章分别以爬虫和数据分析为主题做项目实战,用于把前面学到的网络编程、文件操作、数据库与数据处理知识串联起来。
这本书的豆瓣评分和口碑如何?
豆瓣评分约6.5分(30人评价),评价较分散:有人认为通俗易懂、性价比高,也有人认为编排条理不够清晰。建议把它当作入门带路书,配合动手练习与官方文档使用。

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

Liu Yuzhou is an author of programming books about whom limited public information is available. The only work currently on record is Python Advanced Programming: Writing More Efficient and Elegant Python Code, which is categorized under programming design. Judging from the title and subject matter, his writing focuses on intermediate and advanced applications of the Python language, with attention to improving code efficiency and readability, and is aimed at readers who already have a foundation and wish to further refine their programming practice. Such content typically emphasizes the combination of engineering habits and language features rather than listing introductory syntax. Because the author's nationality, dates of birth and death, English name, and educational background are not clearly documented, his personal history and the full scope of his work remain difficult to outline; this introduction is based solely on the in-library work information and the writing direction reflected in the book title, and further details await additional public sources.

More by the same author

Top rated in the same category