Python Crash Course: A Hands-On, Project-Based Introduction to Programming, 3rd Edition

  • 8h 58m
  • Eric Matthes
  • No Starch Press
  • 2023

Python Crash Course is the world’s best-selling guide to the Python programming language. This fast-paced, thorough introduction will have you writing programs, solving problems, and developing functioning applications in no time.

You’ll start by learning 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. You’ll put your new knowledge into practice by creating a Space Invaders–inspired arcade game, building a set of data visualizations with Python’s handy libraries, and deploying a simple application online.

As you work through the book, you’ll learn how to:

  • Use powerful Python libraries and tools, including pytest, Pygame, Matplotlib, Plotly, and Django
  • Make increasingly complex 2D games that respond to keypresses and mouse clicks
  • Generate interactive data visualizations using a variety of datasets
  • Build apps that allow users to create accounts and manage their own data, and deploy your apps online
  • Troubleshoot coding errors and solve common programming problems

New to this edition: This third edition is completely revised to reflect the latest in Python code. New and updated coverage includes VS Code for text editing, the pathlib module for file handling, pytest for testing your code, as well as the latest features of Matplotlib, Plotly, and Django.

If you’ve been thinking about digging into programming, Python Crash Course will provide you with the skills to write 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 an introductory Python course. He has been writing programs since he was five years old. Eric currently focuses on writing software that addresses inefficiencies in education and brings the benefits of open source software to the field of education. In his spare time he enjoys climbing mountains and spending time with his family.

In this Book

  • Preface to the Third Edition
  • Introduction
  • 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
SHOW MORE
FREE ACCESS