r/learnpython • • May 30 '20

Python cheat sheet?

I was wondering whether you guys keep a handy cheat sheet when y'all code. For example when working with a module after a long time it's obvious that we become rusty and need help with the functions and the syntax. Would be great if you guys share the links/books that you guys refer to while programming. I'm sorry if this has been asked before. Cheers!

372 Upvotes

50 comments sorted by

View all comments

25

u/[deleted] May 30 '20

Write one on your own. By the time you finished you won't need it anymore. It's a great exercise.

9

u/greatestbird May 31 '20

This is what I did. I made it more fun by getting into fountain pens at the same time. It motivated me to take more and more notes so I could try new inks/pens lol. Do not recommend getting into fountain pens, very expensive.

6

u/[deleted] May 31 '20

Yo. I know what you mean haha

1

u/MikeTheWatchGuy May 31 '20

Do not recommend getting into fountain pens, very expensive.

You can do it cheaply to start with. Parker and Lamy make some excellent starter pens.

I write everything on paper using pens and pencils!! All of my designs, notes, etc. I have a Cookbook of Python design patterns. For me, the act of writing things down burns it into my memory.

I've been begging John for a sample template that he uses - https://www.wikipython.com/

The PDFs say there were created using Microsoft Publisher. I SO badly want to make a PySimpleGUI one that's in his format!! Would be super-helpful. Although, docstrings can be just as / more powerful.

1

u/Traust Jun 01 '20

You can start off with inexpensive fountain pens but then one day you find yourself looking at $1000 pens thinking to yourself how much you need it to go with the other expensive pens you have brought cause you "needed" them. Same problem when you play D&D and War Hammer, you seem to end up with a mountain of dice and figurines. I swear however they are ALL useful and I NEED all of them.

1

u/camposthetron May 31 '20

Great advice, thank you!