Python Crash Course, 2nd Edition: A Hands-On, Project-Based Introduction to Programming (Paperback)
The second edition of the best-selling Python book in the world (over 1 million copies sold!). A fast-paced, no-nonsense guide to programming in Python. Updated and thoroughly revised to reflect the latest in Python code and practices.
Python Crash Course is the world's best-selling guide to the Python programming language. This fast-paced, thorough introduction to programming with Python 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 basic programming concepts, such as variables, lists, classes, and loops, and practice writing clean code with exercises for each topic. You'll also learn how to make your programs interactive and test your code safely before adding it to a project. In the second half, you'll put your new knowledge into practice with three substantial projects: a Space Invaders-inspired arcade game, a set of data visualizations with Python's handy libraries, and a simple web app you can deploy online.
As you work through the book, you'll learn how to:
• Use powerful Python libraries and tools, including Pygame, Matplotlib, Plotly, and Django
• Make 2D games that respond to keypresses and mouse clicks, and that increase in difficulty
• Use data to generate interactive visualizations
• Create and customize 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 about digging into programming, Python Crash Course will get you writing real programs fast. Why wait any longer? Start your engines and code!
About the Author
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.
Python Crash Course selected as one of the best books for learning Python by Real Python
“It has been interesting to see, over the last few years, No Starch Press, which produces this book, growing and producing future classics that should be alongside the more traditional O’Reilly Press programming books. Python Crash Course is one of those books.”
—Greg Laden, ScienceBlogs
“All of these projects are well thought out and presented in such a way that learning the subject matter and implementing it is much more an enjoyable pastime rather than an onerous task that must be completed. Eric took the time to deal with some rather complex projects and lay them out in a consistent, logical and pleasant manner that draws the reader into the subject willingly, which unfortunately, many authors fail to do.”
—Full Circle Magazine
“The book is well presented with good explanations of the code snippets. It works with you, one small step at a time, building more complex code, explaining what's going on all the way.”
“Learning Python with Python Crash Course was an extremely positive experience! A great choice if you’re new to Python.”
—Mikke Goes Coding
"While Python Crash Course uses Python to teach you to code, it also teaches clean programming skills that apply to most other languages."
—Great Lakes Geek
"It does what it says on the tin, and it does it really well. If you want a crash course in Python, fear not!!! The Python Crash Course is an excellent book that provides a thorough introduction to Python that will have you writing programs and solving problems in no time!"
—Technical YA, Best Books to Learn Python Language in 2021
—Anna Yukhtenko, Senior Games Analyst at Hutch