Python from Novice to Expert cover

Python from Novice to Expert

No rating yet
Chapters
28
Series
Li Ning Lecture Hall
ISBN
9787302507161

Tags

Summary

Python from Novice to Expert is a hands-on full-stack Python development tutorial by Li Ning, published by Tsinghua University Press in September 2018. The book runs 632 pages and belongs to the "Li Ning Lecture Hall" series. Approaching Python from a practical angle, the author systematically explains core Python concepts and their application in web development, data analysis, web scraping, and desktop applications. The book includes over 50,000 lines of code and a wealth of hands-on examples, each with detailed implementation steps, with the aim of guiding readers from the basics to mastery of the Python language and full-stack development skills. The book is divided into six parts and 33 chapters: Part I, Python Fundamentals (Chapters 1–10), covers basic Python concepts, installing and configuring the development environment, language fundamentals, control statements, lists, tuples, strings, dictionaries, functions, classes, objects, exceptions, methods, properties, and iterators; Part II, Advanced Python Programming (Chapters 11–20), covers regular expressions, commonly used modules, files and streams, data storage, TCP and UDP programming, urllib3, Twisted, FTP, Email, multithreading, tkinter, PyQt5, and testing; Part III, Python Web Development (Chapters 21–22), covers the two major web frameworks Flask and Django; Part IV, Scientific Computing and Data Analysis (Chapters 23–25), covers NumPy, Matplotlib, and Pandas; Part V, Web Scraping Techniques (Chapters 26–27), covers key scraping techniques with Beautiful Soup and Scrapy; Part VI, Project Practice (Chapters 28–33), covers web, scraping, API, desktop application, and game project development. The book is positioned as a reference for Python programming and full-stack development.

Editor's review

这本书是国内Python入门书中口碑与销量都比较稳的一本,特点可以概括为「一本管到底」。它的前半部分把语法基础讲得足够细,从环境安装、REPL调试到列表、元组、字典、函数、类、异常、迭代器,基本覆盖了零基础读者的全部起步需求;后半部分则不再停留在「玩具例子」,而是直接铺开到Web开发、数据分析、网络爬虫、桌面GUI几大方向,让读者在学完基础后能立刻看到Python能用来做什么。 书中的案例密度很高,作者宣称配有超过5万行代码和数百个案例,且每个案例都有分步实现说明,读者照着敲一遍就能跑通,这对自学者非常友好。本书还得到JetBrains方面的推荐,配有同步视频课程和源码资源,形成「书+视频+代码」的组合学习路径。对预算有限、只想先买一本Python综合书的人来说,它是性价比较高的选择。不过需要提醒:书中部分框架与库的版本(如PyQt5、Python 3.x早期版本)在今天已经过时,动手时应结合官方最新文档;若追求最新技术栈,可考虑2022年修订的第2版。

Who it's for

A good fit for

  • 完全零基础、想用一本书同时打牢语法基础和了解各应用方向的读者
  • 高校计算机或非计算机专业学生,需要一本内容全面的Python课程参考书
  • 想从其他语言转向Python、快速了解其在Web、爬虫、数据分析等领域落地的程序员
  • 预算有限、希望获得配套视频与源码资源辅助自学的人

Not a good fit for

  • 已有一定Python经验、只想深入某个细分领域(如数据分析或Web架构)的进阶读者
  • 偏好精炼理论讲解、不喜欢大量案例驱动式学习方式的人
  • 希望直接使用最新版本PyQt6、最新Django等现代技术栈的读者(建议选第2版)

Reading tips

  1. 先按章节顺序把基础知识篇(第1~10章)读完,每节代码亲手敲一遍,不要只用眼睛看
  2. 学完基础后按兴趣挑选一篇(Web、数据分析、爬虫或GUI)精读,不要一次把所有框架都啃完
  3. 务必配合书中配套源码和视频一起使用,遇到版本报错优先查阅对应库的官方文档进行修正
  4. 每章末尾的「实战与练习」尽量完成,并尝试把它们改造成自己的小项目,巩固所学

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 Getting Started with Python
  2. Chapter 2 Python Language Fundamentals
  3. Chapter 3 Conditionals, Loops, and Other Statements
  4. Chapter 4 Lists and Tuples (Fundamentals)
  5. Chapter 5 String Processing
  6. Chapter 6 Using Dictionaries
  7. Chapter 7 Functions
  8. Chapter 8 Classes and Objects
  9. Chapter 9 Exception Handling
  10. Chapter 10 Methods, Properties, and Iterators
  11. Chapter 11 Regular Expressions
  12. Chapter 12 Commonly Used Modules
  13. Chapter 13 Files and Streams
  14. Chapter 14 Data Storage
  15. Chapter 15 TCP and UDP Programming
  16. Chapter 16 urllib3 and Twisted
  17. Chapter 17 FTP and Email Programming
  18. Chapter 18 Multithreading
  19. Chapter 19 tkinter and PyQt5 Graphical Interfaces
  20. Chapter 20 Testing
  21. Chapter 21 The Flask Framework
  22. Chapter 22 The Django Framework
  23. Chapter 23 NumPy
  24. Chapter 24 Matplotlib
  25. Chapter 25 Pandas
  26. Chapter 26 Beautiful Soup Web Scraping
  27. Chapter 27 Scrapy Web Scraping
  28. Chapters 28–33 Project Practice (Web, Scraping, API, Desktop Applications, and Game Development)

FAQ

这本书适合完全没有编程基础的人吗?
适合。书中从Python安装、环境变量配置和IDE搭建讲起,语法部分从变量、数字、字符串一路讲到函数、类与异常,作者也明确将其定位为零基础入门教程,只要愿意跟着敲代码即可。
书里讲的是Python 2还是Python 3?
该书2018年出版,内容以Python 3为主,但当时部分第三方库(如PyQt5、部分Web框架)版本较老,今天安装新版本可能出现兼容问题,需要按官方文档调整写法。
这本书和2022年的第2版有什么区别?
原版为六篇33章,讲PyQt5、tkinter、Flask、Scrapy等;第2版改为四篇26章,更新为PyQt6、协程、办公自动化等新内容,并新增俄罗斯方块、塔防等游戏项目实战,技术栈更新但章节数更紧凑。
需要先学完整个基础篇才能看后面的实战项目吗?
建议至少完成第1~10章的基础语法和面向对象部分,再进入实战篇章。否则在阅读框架和项目代码时会因不熟悉类、异常、迭代器等概念而吃力。

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

Li Ning Author · Chinese · 1962

Li Ning, female, born in 1962, graduated from the Food and Nutrition program at the Peking University Branch Campus. She joined the Nutrition Department of Peking Union Medical College Hospital in 1988, serving as a dietitian and senior dietitian before becoming chief dietitian and associate professor in the Department of Clinical Nutrition. With more than thirty years of clinical nutrition experience, she specializes in maternal and infant nutrition and in dietary therapy and guidance for conditions such as diabetes and hypertension. Her writing is practical and aimed at ordinary families, translating nutrition science into everyday meals and chronic disease management. She has published 42 works covering pregnancy nutrition, children's diets, blood sugar control, vascular health and popular science, as well as history and programming. Public information about her is limited, and few biographical details are available.

More by the same author

Top rated in the same category