Python: From Beginner to Expert cover

Python: From Beginner to Expert

No rating yet
Chapters
35
Series
Li Ning's Lecture Hall
ISBN
9787302507161

Tags

Summary

Written by Li Ning and published by Tsinghua University Press, Python: From Beginner to Expert is a hands-on, systematically organized tutorial on Python fundamentals and full-stack development. The book is divided into six parts and 33 chapters: Part 1, Python Basics (Chapters 1–10), begins with installing and configuring the environment and covers control statements, lists, tuples, strings, dictionaries, functions, classes and objects, exceptions, methods, properties, and iterators; Part 2, Advanced Programming (Chapters 11–20), introduces regular expressions, common modules, files and streams, data storage, TCP/UDP programming, Urllib3, Twisted, FTP, email, multithreading, tkinter, PyQt5, and software testing; Part 3, Web Development (Chapters 21–22), explains the two mainstream frameworks Flask and Django; Part 4, Scientific Computing and Data Analysis (Chapters 23–25), introduces the data analysis and visualization libraries NumPy, Matplotlib, and Pandas; Part 5, Web Crawling (Chapters 26–27), focuses on Beautiful Soup and Scrapy to explain key crawling techniques and commonly used libraries; Part 6, Project Practice (Chapters 28–33), closes with hands-on projects in web development, web crawling, APIs, desktop applications, and game development. The author uses extensive examples and complete implementation steps throughout, guiding readers from the basics to a solid command of the Python language and full-stack development skills. The book is officially recommended by JetBrains and comes with video courses, example code, and other learning resources, making it suitable as a textbook or reference for Python programming.

Editor's review

这是一本“从零起步、直奔实战”的 Python 全栈教程。作者李宁长期从事软件开发与技术培训,深知初学者的卡点:语法都看懂,一动手就无从写起。因此本书从搭建环境、运行第一个程序开始,把每个语言点都放进可运行的案例里讲解,再顺着“基础语法—存储与网络并发—Web/数据分析/爬虫—完整项目”的路径层层加码,让人不是在背概念,而是在写代码。 相比很多只讲语法的入门书,它的覆盖面明显更宽:Flask、Django、NumPy、Matplotlib、Pandas、Beautiful Soup、Scrapy、tkinter 与 PyQt5 都在其中,一本书即可打通从入门语言到全栈应用的主干。全书案例数量可观、步骤写得细,适合边看边敲,也便于按篇跳读。书中配有视频课程与源码等配套资源,跟着书做项目的效率会更高。需要注意,技术类图书的内容会随版本演进,动手时请以官方最新的 Python 与库文档为准。

Who it's for

A good fit for

  • 零基础或只学过少量语法的 Python 初学者,希望系统入门并动手写代码的人
  • 想用一本书打通 Web 开发、数据分析、爬虫、桌面应用多个方向的自学者
  • 以本书作为教材或参考书的高校计算机相关课程学生
  • 需要按篇查阅 Flask、Django、Pandas、Scrapy 等具体技术点的开发者

Not a good fit for

  • 已有多语言开发经验、只想要深入原理与源码级剖析的资深工程师
  • 希望学习 Python 3.12 以后新增语法与最新生态特性的读者,需配合新版资料
  • 只打算读理论、不准备实际动手敲代码的读者

Reading tips

  1. 先按第一篇顺序搭建环境并完成每章练习,保证每个语法点都能独立写出小程序
  2. 第二篇起可按兴趣跳读,把 Web、数据分析、爬虫中与你工作最相关的一篇精读并完成案例
  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. Preface and Recommended Foreword; About the Companion Resources
  2. Part 1 Python Basics (Chapters 1–10)
  3. Chapter 1 Getting Started with Python
  4. Chapter 2 Python Language Fundamentals
  5. Chapter 3 Conditionals, Loops, and Other Statements
  6. Chapter 4 Lists and Tuples
  7. Chapter 5 Strings
  8. Chapter 6 Dictionaries
  9. Chapter 7 Functions and Abstraction
  10. Chapter 8 Classes and Objects
  11. Chapter 9 Exceptions and Magic Methods
  12. Chapter 10 Properties and Iterators
  13. Part 2 Advanced Python Programming (Chapters 11–20)
  14. Chapter 11 Regular Expressions
  15. Chapter 12 Common Modules
  16. Chapter 13 Files and Streams
  17. Chapter 14 Data Storage
  18. Chapter 15 TCP and UDP Programming
  19. Chapter 16 Urllib3 and Twisted (Advanced Network Programming)
  20. Chapter 17 FTP and Email
  21. Chapter 18 Multithreading
  22. Chapter 19 tkinter and PyQt5 Graphical Interfaces
  23. Chapter 20 Software Testing
  24. Part 3 Python Web Development (Chapters 21–22)
  25. Chapter 21 The Flask Framework
  26. Chapter 22 The Django Framework
  27. Part 4 Scientific Computing and Data Analysis in Python (Chapters 23–25)
  28. Chapter 23 NumPy
  29. Chapter 24 Matplotlib
  30. Chapter 25 Pandas
  31. Part 5 Python Web Crawling (Chapters 26–27)
  32. Chapter 26 Key Web Crawling Techniques
  33. Chapter 27 Beautiful Soup and Scrapy
  34. Part 6 Python Project Practice (Chapters 28–33)
  35. Chapters 28–33 Hands-On Web, Crawler, API, Desktop, and Game Projects

FAQ

这本书适合完全没有编程基础的人吗?
适合。全书从安装 Python、配置开发环境和运行第一个程序讲起,语言点都配案例与步骤,作者定位就是零基础入门到全栈实践。但如果连变量、循环这类概念都完全陌生,建议先跟完第一篇再往后读,不要一上来就跳进框架和爬虫章节。
这本书和它的第2版有什么区别?
第1版为 2018 年出版(ISBN 9787302507161),共六篇 33 章,涵盖 Flask、Django、NumPy、Pandas、Scrapy、PyQt5 等;第2版于 2022 年出版(ISBN 9787302613947),调整为四篇 26 章,改为 PyQt6、PyGame,并增加办公自动化、控制键盘鼠标等内容。选购时请按 ISBN 确认版本。
书中的配套资源包含什么?
据出版社介绍,本书配有同步视频课程、案例源代码与练习题等资源,第1版宣传中有约 2400 分钟视频、数百个案例与数十道练习题的说法。具体获取方式以书内说明或出版社页面为准,不同印次的资源清单可能略有差异。
书中代码版本较老,还值得读吗?
语言基础部分(语法、数据结构、函数、类与异常)长期有效,仍很适合打底;框架与第三方库部分可能因版本更新出现差异。建议把书当学习路线与案例参考,动手时使用当前稳定版本,并对照官方文档调整写法。

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