Python Crash Course: A Hands-On, Project-Based Introduction to Programming (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 完全没有编程基础、想系统学一门语言的成年人
- 在校学生,尤其是需要完成Python课程作业或课程设计的人
- 想转行数据分析、Web开发,需要一份能跑通项目的入门材料
- 自学编程时容易半途而废、需要跟着完整项目做完的读者
Not a good fit for
- 已有多年Python经验、想深入语言底层或性能优化的开发者
- 只想要一本速查手册、不想按章节跟着练习的人
- 需要Python 3.12以上新特性与VS Code工作流的读者,建议直接看第3版
Reading tips
- 第1—11章务必逐章敲代码并完成课后练习,不要只读不写,这部分是全书地基。
- 三个项目至少完整做一个,推荐从“外星人入侵”开始,成功运行后再挑战数据可视化和Django项目。
- 遇到语法变化或报错,先查阅随书代码和官方文档,再用附录A、附录C的排错与求助方法定位问题。
- 全书一般需要6—10周,建议每周固定3—5次、每次1—2小时的节奏,保持连续比一次看很多更有效。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Part I Basics
- Chapter 1 Getting Started
- Chapter 2 Variables and Simple Data Types
- Chapter 3 Introducing Lists
- Chapter 4 Working with Lists
- Chapter 5 if Statements
- Chapter 6 Dictionaries
- Chapter 7 User Input and while Loops
- Chapter 8 Functions
- Chapter 9 Classes
- Chapter 10 Files and Exceptions
- Chapter 11 Testing Your Code
- Part II Projects
- Project 1 Alien Invasion: Chapter 12 A Ship That Fires Bullets
- Chapter 13 Aliens!
- Chapter 14 Scoring
- Project 2 Data Visualization: Chapter 15 Generating Data
- Chapter 16 Downloading Data
- Chapter 17 Working with APIs
- Project 3 Web Applications: Chapter 18 Getting Started with Django
- Chapter 19 User Accounts
- Chapter 20 Styling and Deploying an App
- Appendix A Installation and Troubleshooting
- Appendix B Text Editors and IDEs
- Appendix C Getting Help
- Appendix D Using Git for Version Control
- Afterword
- About the Author
FAQ
这本书零基础能看懂吗?
第2版和第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.