Python Crash Course: A Hands-on, Project-Based Introduction to Programming
- 8h 32m
- Eric Matthes
- No Starch Press
- 2015
Learn Python—Fast!
Python Crash Course is a fast-paced, thorough introduction to 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 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!
About the Author
Eric Matthes is a high school science and math teacher living in Alaska where he teaches Introduction to Python. He has been writing programs since he was five years old.
In this Book
-
Getting Started
-
Variables and Simple Data Types
-
Introducing Lists
-
Working with Lists
-
If Statements
-
Dictionaries
-
User Input and While Loops
-
Functions
-
Classes
-
Files and Exceptions
-
Testing Your Code
-
A Ship That Fires Bullets
-
Aliens!
-
Scoring
-
Generating Data
-
Downloading Data
-
Working with APIs
-
Getting Started with Django
-
User Accounts
-
Styling and Deploying an App
-
Afterword