Python Crash Course, 2nd Edition

书名:Python Crash Course, 2nd EditionAHands-On,Project-BasedIntroductiontoProgramming
作者:EricMatthes
译者:
ISBN:9781593279288
出版社:NoStarchPress
出版时间:2019-5-3
格式:epub/mobi/azw3/pdf
页数:506
豆瓣评分: 8.4

书籍简介:

Second edition of the best selling Python book in the world. A fast-paced, no-nonsense guide to programming in Python. This book teaches beginners the basics of programming in Python with a focus on real projects. This is the second edition of the best selling Python book in the world. Python Crash Course, 2nd Edition is a straightforward introduction to the core of Python programming. Author Eric Matthes dispenses with the sort of tedious, unnecessary information that can get in the way of learning how to program, choosing instead to provide a foundation in general programming concepts, Python fundamentals, and problem solving. Three real world projects in the second part of the book allow readers to apply their knowledge in useful ways. Readers will learn how to create a simple video game, use data visualization techniques to make graphs and charts, and build and deploy an interactive web application. Python Crash Course, 2nd Edition teaches beginners the essentials of Python quickly so that they can build practical programs and develop powerful programming techniques.

作者简介:

Eric Matthes is a high school math and science teacher living in Alaska who teaches an Introduction to Programming class in Python. He has been writing programs since he was five years old.

书友短评:

@ A pretty good introduction book for Python beginner since frequently used codes are well explained with good examples. An online course I attended on MOOC China is actually based on this book, if looking at the structure. @ 三折书院 我读的3rd edition,因为2nd edition用到一半发现很多的语法都和现在Python版本对不上了。总的来说本书前面很基础,适合小白。后面上手的项目如果对照着敲的话,也能复现出书中的效果。但问题是项目部分没有深入解释原理,敲完感觉没头没脑的,特别是最后的Django部分,简直有种如堕五里雾中,知道怎么操作,但不知道为什么这样操作。我怀疑这可能是crash course类书籍的通病,下本书就不看no starch出版社的编程书了吧,换一本看看。 @ John 复习一下以前简单学过的 Python,拿来写点小东西,入门神书

书籍目录

Preface to the Second Edition
Acknowledgements
Introduction
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
Afterword
Appendix A. Installation and Troubleshooting
Appendix B. Text editors and IDEs
Appendix C. Getting Help
Appendix D. Using Git for Version Control
Index
· · · · · ·

  • 在文件夹 Applications/Utilities 中,选择 Terminal,打开一个终端窗口;也可以按Command + 空格键,再输入 terminal 并按回车键。为确定是否安装了较新的 Python 版本,请执行命令 python3。很可能会出现一个消息框,询问你是否要安装命令行开发者工具。最好先安装 Python,再安装这些工具,因此请关闭该消息框。如果输出表明已经安装了 Python 3.9 或更高的版本,可跳过下一小节,直接阅读“在终端会话中运行 Python 代码”。如果安装的是 Python 3.9 之前的版本,请按下一小节的说明安装最新的版本。请注意,如果你使用的是 macOS,请将本书中所有的命令 python 都替换为 python3,以确保你使用的是 Python 3。在大多数 macOS 系统中,命令 python 要么指向供内部系统工具使用的过期 Python 版本,要么没有指向任何程序(在这种情况下,执行命令 python 将引发错误)。
    —— 引自章节:1.2 在各种操作系统中搭建Python编程
  • line_chart.x_labels = x_unique
    —— 引自第332页
  • 添加微信公众号:好书天下获取

    添加微信公众号:“好书天下”获取书籍好书天下 » Python Crash Course, 2nd Edition
    分享到: 更多 (0)

    评论 抢沙发

    评论前必须登录!

     

    添加微信公众号:“好书天下”获取书籍

    添加微信公众号:“好书天下”获取书籍添加微信公众号:“好书天下”获取书籍