Beginner’s Python CheatSheets

Cheat sheets can be really helpful when you’re trying a set of exercises related to a specific topic or working on a project. Because you can only fit so much information on a single sheet of paper, most cheat sheets are a simple listing of syntax rules. This set of cheat sheets aims to remind you of syntax rules, but also remind you of important concepts as well.

All of these cheat sheets have been updated to match what’s in the second edition of the Python Crash Course. You can download sheets individually, or download a zip file that includes all of these sheets in one directory. You can also download all of the cheat sheets in a single pdf file if you like.

Overview Sheet

Python Basics

Project-Focused Sheets

  • Beginner’s Python Cheat Sheet – Pygame
    • Focuses on creating games with Pygame. Creating a game window, rect objects, images, responding to keyboard and mouse input, groups, detecting collisions between game elements, and rendering text
  • Beginner’s Python Cheat Sheet – Matplotlib
    • Focuses on creating visualizations with Matplotlib. Making line graphs and scatter plots, customizing plots, making multiple plots, and working with time-based data.
  • Beginner’s Python Cheat Sheet – Plotly
    • Focuses on creating visualizations with Plotly. Making line graphs, scatter plots, and bar graphs, styling plots, making multiple plots, and working with geographical datasets.
  • Beginner’s Python Cheat Sheet – Django
    • Focuses on creating web apps with Django. Installing Django and starting a project, working with models, building a home page, using templates, using data, and making user accounts.