-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eric Matthes
authored and
Eric Matthes
committed
Feb 28, 2023
1 parent
142b001
commit 175b7fe
Showing
31 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+263 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_bw.pdf
Binary file not shown.
Binary file added
BIN
+260 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_classes_bw.pdf
Binary file not shown.
Binary file added
BIN
+248 KB
...heets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_dictionaries_bw.pdf
Binary file not shown.
Binary file added
BIN
+310 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_django_bw.pdf
Binary file not shown.
Binary file added
BIN
+245 KB
...s/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_files_exceptions_bw.pdf
Binary file not shown.
Binary file added
BIN
+251 KB
...t_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_functions_bw.pdf
Binary file not shown.
Binary file added
BIN
+248 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_git_bw.pdf
Binary file not shown.
Binary file added
BIN
+253 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_if_while_bw.pdf
Binary file not shown.
Binary file added
BIN
+241 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_lists_bw.pdf
Binary file not shown.
Binary file added
BIN
+277 KB
..._sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_matplotlib_bw.pdf
Binary file not shown.
Binary file added
BIN
+277 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_plotly_bw.pdf
Binary file not shown.
Binary file added
BIN
+272 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_pygame_bw.pdf
Binary file not shown.
Binary file added
BIN
+261 KB
cheat_sheets/bw_sheets/individual_sheets_bw/beginners_python_cheat_sheet_pcc_testing_bw.pdf
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+282 KB
cheat_sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc.pdf
Binary file not shown.
Binary file added
BIN
+280 KB
..._sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_classes.pdf
Binary file not shown.
Binary file added
BIN
+267 KB
...ts/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_dictionaries.pdf
Binary file not shown.
Binary file added
BIN
+331 KB
...t_sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_django.pdf
Binary file not shown.
Binary file added
BIN
+264 KB
...olor_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_files_exceptions.pdf
Binary file not shown.
Binary file added
BIN
+271 KB
...heets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_functions.pdf
Binary file not shown.
Binary file added
BIN
+268 KB
cheat_sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_git.pdf
Binary file not shown.
Binary file added
BIN
+272 KB
...sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_if_while.pdf
Binary file not shown.
Binary file added
BIN
+261 KB
cheat_sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_lists.pdf
Binary file not shown.
Binary file added
BIN
+305 KB
...eets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_matplotlib.pdf
Binary file not shown.
Binary file added
BIN
+296 KB
...t_sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_plotly.pdf
Binary file not shown.
Binary file added
BIN
+291 KB
...t_sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_pygame.pdf
Binary file not shown.
Binary file added
BIN
+281 KB
..._sheets/color_sheets/individual_sheets_color/beginners_python_cheat_sheet_pcc_testing.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
hide: | ||
- footer | ||
title: Cheat Sheets | ||
--- | ||
|
||
# Cheat Sheets | ||
|
||
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. | ||
|
||
You can click here and download [all of the sheets in a single document](https://github.com/ehmatthes/pcc_3e/releases/download/v1.0.0/beginners_python_cheat_sheet_pcc_all.pdf). To see a listing of individual sheets available for downloading, including a printer-friendly black and white version, click [here](). | ||
|
||
The full set includes: | ||
|
||
- An overview sheet covering a wide range of topics | ||
- A series of sheets that focus on the fundamentals of Python | ||
- A series of sheets focusing on specific libraries: pytest, Pygame, Matplotlib, Plotly, and Django | ||
- A sheet focusing on Git basics | ||
|
||
These sheets are completely free to use and share. I originally wrote them as a way to support readers of Python Crash Course, but they've proven useful to people working through a wide range of Python learning resources as well. (If you find them useful and want to see more of my writing on Python, check out my ongoing work at [Mostly Python](https://mostlypython.substack.com).) | ||
|
||
--- | ||
|
||
# Individual Sheet Descriptions | ||
|
||
### Overview Sheet | ||
|
||
- Beginner's Python Cheat Sheet | ||
- Provides an overview of the basics of Python including variables, lists, dictionaries, functions, classes, and more. | ||
|
||
### Python Basics | ||
|
||
- 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 dictionary comprehensions, 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. | ||
|
||
## 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. | ||
- Beginner's Python Cheat Sheet - Git | ||
- Focuses on using Git for version control. Installing and configuring Git, initializing a repository, branching, getting started with GitHub, and more. | ||
|
||
--- | ||
|
||
If you find any errors, please feel free to get in touch: | ||
|
||
Email: [ehmatthes@gmail.com](mailto:ehmatthes@gmail.com) | ||
|
||
Twitter: [@ehmatthes](https://twitter.com/ehmatthes) | ||
|
||
Mastodon: [@ehmatthes@fosstodon.org](https://fosstodon.org/@ehmatthes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters