Beginning Python: Using Python 2.6 and Python 3.1
Tags
Summary
Editor's review
Who it's for
A good fit for
- 完全没有编程经验、想系统了解 Python 全貌的初学者
- 需要从 Python 2.x 迁移到 Python 3、想理解两版差异的开发者
- 高校 Python 课程的学生,可配合每章小结与习题练习
- 想快速浏览 Python 在 GUI、数据库、XML、网络、Web 等领域落点的人
Not a good fit for
- 已经熟练使用 Python 3、希望学习现代工程实践的进阶开发者
- 需要学习数据分析、机器学习等当代主流方向的读者
- 希望照着书中代码直接运行、不愿查对新版本文档的人
Reading tips
- 第Ⅰ、Ⅱ部分按顺序精读并动手敲代码,务必边读边在 Python Shell 里验证。
- 第Ⅲ部分可挑章节跳读:先读测试、文件、数据库和网络,GUI 与 Jython 可按兴趣取舍。
- 遇到与当前 Python 版本不符的写法,以官方文档为准并顺手记录差异,这本身就是很好的学习。
- 每章末尾习题不要跳过,它们是检验是否真正理解语法细节的最低成本方式。
About the publisher
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
- Part I Getting Started with Python
- Chapter 1 Programming Basics and Strings
- Chapter 2 Numbers and Operators
- Chapter 3 Variables
- Part II Python Language and the Standard Library
- Chapter 4 Making Decisions
- Chapter 5 Functions
- Chapter 6 Classes and Objects
- Chapter 7 Organizing Programs
- Chapter 8 Files and Directories
- Chapter 9 Other Features of the Python Language
- Chapter 10 Creating Modules
- Chapter 11 Text Processing
- Part III Putting Python to Work
- Chapter 12 Testing
- Chapter 13 Writing GUIs with Python
- Chapter 14 Accessing Databases
- Chapter 15 Processing XML with Python
- Chapter 16 Network Programming
- Chapter 17 Extending Python with C
- Chapter 18 Numerical Programming
- Chapter 19 Introduction to Django
- Chapter 20 Web Applications and Web Services
- Chapter 21 Integrating Java and Python
- Part IV Appendices
FAQ
这本书讲的是 Python 2 还是 Python 3?
零基础可以直接读吗?
书中代码现在还能跑吗?
这本书和《Python编程:从入门到实践》怎么选?
书名中的“经典”是指内容权威吗?
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.