Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md Updated links to point to release assets. Aug 15, 2016
beginners_python_cheat_sheet_pcc.pdf
beginners_python_cheat_sheet_pcc_all.pdf Two quick copyedit fixes. Aug 22, 2016
beginners_python_cheat_sheet_pcc_classes.pdf Added classes cheat sheet, updated functions with better alignment. Feb 23, 2016
beginners_python_cheat_sheet_pcc_dictionaries.pdf New cheat sheets: lists, dictionaries, functions. Feb 17, 2016
beginners_python_cheat_sheet_pcc_django.pdf Added django cheat sheet. Aug 15, 2016
beginners_python_cheat_sheet_pcc_files_exceptions.pdf Added files_exceptions cheat sheet, updated links to others, and upda… May 8, 2016
beginners_python_cheat_sheet_pcc_functions.pdf Added classes cheat sheet, updated functions with better alignment. Feb 23, 2016
beginners_python_cheat_sheet_pcc_if_while.pdf Added if_while sheet. Mar 16, 2016
beginners_python_cheat_sheet_pcc_lists.pdf New cheat sheets: lists, dictionaries, functions. Feb 17, 2016
beginners_python_cheat_sheet_pcc_matplotlib.pdf Added matplotlib cheat sheet and updated cheatsheets readme. Jul 18, 2016
beginners_python_cheat_sheet_pcc_pygal.pdf Added pygal cheat sheet and updated cheatsheets readme. Jul 30, 2016
beginners_python_cheat_sheet_pcc_pygame.pdf Added pygame cheat sheet. Jun 14, 2016
beginners_python_cheat_sheet_pcc_testing.pdf Added testing cheatsheet. Jun 1, 2016

README.md

Python Crash Course - Cheat Sheets

A cheat sheet 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.

You can download any individual cheat sheet, or download all the cheat sheets in one document.

  • Beginner's Python Cheat Sheet
    • Provides an overview of the basics of Python including variables, lists, dictionaries, functions, classes, and more.
  • Beginner's Python Cheat Sheet - Lists
    • Focuses on lists: how to build and modify a list, access elements from a list, and loop through the values in a list. Also covers numerical lists, list comprehensions, tuples, and more.
  • Beginner's Python Cheat Sheet - Dictionaries
    • Focuses on dictionaries: how to build and modify a dictionary, access the information in a dictionary, and loop through dictionaries in a variety of ways. Includes sections on nesting lists and dictionaries, using an OrderedDict and more.
  • Beginner's Python Cheat Sheet - If Statements and While Loops
    • Focuses on if statements and while loops: how to write conditional tests with strings and numerical data, how to write simple and complex if statements, and how to accept user input. Also covers a variety of approaches to using while loops.
  • Beginner's Python Cheat Sheet - Functions
    • Focuses on functions: how to define a function and how to pass information to a function. Covers positional and keyword arguments, return values, passing lists, using modules, and more.
  • Beginner's Python Cheat Sheet - Classes
    • Focuses on classes: how to define and use a class. Covers attributes and methods, inheritance and importing, and more.
  • Beginner's Python Cheat Sheet - Files and Exceptions
    • Focuses on working with files, and using exceptions to handle errors that might arise as your programs run. Covers reading and writing to files, try-except-else blocks, and storing data using the json module.
  • Beginner's Python Cheat Sheet - Testing Your Code
    • Focuses on unit tests and test cases. How to test a function, and how to test a class.
  • 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 - pygal
    • Focuses on creating visualizations with Pygal. Making line graphs, scatter plots, and bar graphs, styling plots, making multiple plots, and working with global 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.