Python Crash Course is a fast-paced, thorough introduction to programming with Python that will have you writing programs, solving problems, and making things that work in no time.
In the first half of the book, you'll learn about basic programming concepts, such as lists, dictionaries, classes, and loops, and practice writing clean and readable code with exercises for each topic. You'll also learn how to make your programs interactive and how to test your code safely before adding it to a project. In the second half of the book, you'll put your new knowledge into practice with three substantial projects: a Space Invaders-inspired arcade game, data visualizations with Python's super-handy libraries, and a simple web app you can deploy online.
As you work through Python Crash Course, you'll learn how to:
- Use powerful Python libraries and tools, including matplotlib, NumPy, and Pygal
- Make 2D games that respond to keypresses and mouse clicks, and that grow more difficult as the game progresses
- Work with data to generate interactive visualizations
- Create and customize simple web apps and deploy them safely online
- Deal with mistakes and errors so you can solve your own programming problems
If you've been thinking seriously about digging into programming, Python Crash Course
will get you up to speed and have you writing real programs fast. Why wait any longer? Start your engines and code!
Most helpful customer reviews
97 of 100 people found the following review helpful.
Skip the giant python book with the animal on it and get this
By Henry David Thoreau
As a Data Scientist well versed in R, I'd been putting off learning to Python for quite some time. I purchased a course on Udemy which was good but encourage use of iPython notebook - a great program, but it doesn't scale well and takes too long.The Geany program the author recommends has a functional but ugly UI, so I elected to use Pycharm as an IDE.
The thing that I love most about this book is the way the author's just jumps into the meat and potatoes without sacrificing any substance. I was able to follow the exercises and do them based solely on what I had learned as well. This is a major point since many books make learning not fun and dry. Furthermore, as an avid gamer I fully appreciated the connection between the tools and a logical purpose of them. I've got the big fat Python book with the animal on it and was discouraged by its size. I purchased this book with a book on Machine Learning in Python as well.
35 of 36 people found the following review helpful.
Excellent Beginner Material
By Gary Lombardo
Over the course of the last 7 or 8 months I've completed Learn Python the Hard Way, a Coursera Course, maybe another short online course, and this book. I gotta say, this book is my favorite of them all. I feel like it's hard for some authors to understand what a beginner is thinking because what's obvious for a pro is sometimes not so obvious to a beginner. With that being said, the author is great at understanding his audience. Everything is written is straight English. There were many times in Python the Hard Way that i found myself saying, "But....how did you get this?" or "Did i miss some section where this was talked about?" but not with this book. Like i said, I started this book AFTER going through all those other materials so I'm not sure how it would fair with someone who is starting at absolute zero, but my honest opinion is that if i had started here and moved on i would have perhaps been a bit further at this point.
To sum up, it's a great buy and well worthy of your time if you're trying to get some basic Python knowledge. Extra kudos for writing examples in both Python 2.7 and 3.
74 of 81 people found the following review helpful.
See all 179 customer reviews...
Wow... An amazing intro to Python...
I have read multiple beginner guides to Python. I am currently up to chapter 11 in Python Crash Course. So far this is far and away my favorite Python programming book. The content is comprehensive, well-explained and well-curated. I only have one complaint and it is minor. The indentation on the online Kindle version is occasionally off. As a workaround, the author consistently points out where indentation is needed. Or you could stick with the paperback edition. On a side note, the age range states 10 and up. It may be a tad ambitious for a 10 year old. Especially since it covers topics such as Django.
I'll write again if my views change after having tackled the projects section. For now I recommend this book whole-heartedly. It is fantastic.