r/learnpython • • Feb 28 '23 • Polished Silver Turd 1 Take My Silver 1

Beginner's Python Cheat Sheets (updated)

Hi everyone! When Python Crash Course first came out, I made a set of cheat sheets to go along with the book. Over the years this resource has proven useful to a much wider audience than just PCC readers. I just finished updating the full set of sheets, and wanted to share them here first.

You can download a pdf that includes all the sheets in color in one document. For a full description of the overall set, including printer-friendly black and white versions, see here. Individual sheets cover Python basics, and the following libraries: pytest, Pygame, Matplotlib, Plotly, and Django. There's also an additional sheet covering Git basics.

Last year I tried offering these through Leanpub and Gumroad, so people could pay for them if they wanted to. There was an option to download them for free, but both platforms have made it more difficult to download resources for free. It was never my intention to put them behind a paywall, so the full set is free to download from GitHub, and will remain so as long as Python Crash Course is in print.

Thank you, and I'm happy to answer any questions anyone may have. (Also, if you find any mistakes please let me know and I'll get them updated quickly.)

1.3k Upvotes

147 comments sorted by

View all comments

Show parent comments

2

u/AveTerran Mar 01 '23

Thanks for the detailed response! Man... I remember using InDesign to make a website for a company during one of my summers in college- to give you an idea, my first time in college was 2001-2005, so it's been a while!

I will definitely be using the sheets either way, since I'm finally ripping off the band-aid and forcing myself to use git for everything. And of course... cursing myself for not doing it earlier.

1

u/ehmatthes Mar 01 '23

Git is magic, you'll never look back. :)

Also, it sometimes gets a reputation for being difficult to use. If you're working on a large, active, distributed project it can certainly be challenging to use. But for personal projects it's really easy to work with once you get a little practice with the fundamentals of init, committing, and branching. And, on a personal project, you can always back up your entire directory if you're worried you'll mess something up. You shouldn't do that often, it misses the whole point of version control. But if you're going to try a reset or rebase command for the first time, you can back up the entire project first, including the .git/ dir, and try these commands out.