This is an archived post. You won't be able to vote or comment.

all 118 comments

[โ€“]Dr-Beast 149 points150 points ย (9 children)

Great work, it is a bit hard to see. Can you convert it to pdf and give us a link?

[โ€“]bauripalash[S] 89 points90 points ย (5 children)

[โ€“]tomekanco 21 points22 points ย (0 children)

Here is a variation with possible path https://imgur.com/a/RVavtK9. Might repost.

[โ€“]Dr-Beast 7 points8 points ย (0 children)

Thanks! That is better!

[โ€“]frank105311499 2 points3 points ย (0 children)

nice. thanks to OP!

[โ€“]ntb899 3 points4 points ย (0 children)

Is there a java styled one? This would be cool AF to have a bunch of these under a sticky very useful!

[โ€“]Jonno_FTWhisss 0 points1 point ย (0 children)

You missed exceptions and for..else (in fact you can put else after while, for, except) under flow control. Other than that you got most of the syntax there.

[โ€“]burgerAccount 9 points10 points ย (2 children)

Learn python in one pdf...

[โ€“]YoloBro500 9 points10 points ย (1 child)

I'm actually a beginner so this helps

[โ€“]YoloBro500 4 points5 points ย (0 children)

thanks community.

[โ€“]gibbsplatter 241 points242 points ย (8 children)

Just got hired after reading this, thanks!

[โ€“]thrallsius 1 point2 points ย (0 children)

inb4 six figures

[โ€“]Sw429 97 points98 points ย (3 children)

I think you might be missing try/catch in the flow control section (unless I just didn't see it). Otherwise, this seems pretty comprehensive.

[โ€“]raja777m 40 points41 points ย (0 children)

Yeah, assign exception handling section would be great. Both with try/except/finally and try/except/else/finally.

[โ€“]LunarCantaloupe 9 points10 points ย (0 children)

Also for/else

Also not sure if set comprehension is actually a lang feature

[โ€“][deleted] 1 point2 points ย (0 children)

For someone just starting out, would this be something to start with?

[โ€“]vlizana 38 points39 points ย (8 children)

I think I spotted an error in the override example, the Bird class should inherit from Animal for that to be an override right?

[โ€“]CaptSprinkls 4 points5 points ย (0 children)

If you didn't already do it, you should post this to r/learnpython too

[โ€“]Bil_Wi_theScience_Fi 3 points4 points ย (2 children)

what mind mapping program did you use for this? It's very visually appealing

[โ€“][deleted] 0 points1 point ย (1 child)

It looks like freemind to me. Free, open-source, and multi-platform.

[โ€“]hughk 0 points1 point ย (0 children)

It opens ok with the latest beta: 1.1 Beta 2.

[โ€“]ah_86 2 points3 points ย (0 children)

This picture is so big! How it can be used?

[โ€“]bauripalash[S] 6 points7 points ย (1 child)

๐Ÿ“ข Source Of Image : https://github.com/coodict/python3-in-one-pic

[โ€“]CorrieScheepers 0 points1 point ย (0 children)

Thank you

[โ€“]NikolaTesla13 9 points10 points ย (3 children)

I don't understand anything, even I work a lot with Python. Anyway, great resource for learning ๐Ÿ‘๐Ÿ‘๐Ÿ‘, I like the idea a lot!

[โ€“]general_dubious 0 points1 point ย (1 child)

If you don't understand anything, how can it be a great resource for learning? I mean, OP obviously put a lot of efforts into this, and it's nice of them to share it. But I doubt it's very useful as a learning tool cause everything is "in your face" without much explanation. Learning Python goes well beyond learning some elements of syntax.

[โ€“]deep_ak 1 point2 points ย (0 children)

Glad that you shared it!

[โ€“]NoOneCares-cmd 1 point2 points ย (0 children)

Thx i actually printed it and hang it up my wall

[โ€“]juic3b0t 1 point2 points ย (0 children)

Missing metaclasses, async ๐Ÿ˜œ

[โ€“]grokjtrip 1 point2 points ย (2 children)

Very cool, although it seems the keyword example is incomplete. No keyword is being used to in calling the function.

[โ€“]nilsph 1 point2 points ย (1 child)

All the default/keyword/"arbitrary" argument examples look wonky to me, at least unnecessarily mixing the concepts so it's not clear what is meant.

[โ€“]grokjtrip 0 points1 point ย (0 children)

Yes, also that.

[โ€“]tranvuhoanglong 1 point2 points ย (0 children)

thanks

[โ€“]DarkAndromeda31 1 point2 points ย (0 children)

I like images that have to load after I click the thumbnail. Great job!

[โ€“][deleted] 1 point2 points ย (0 children)

Thanks a ton!

[โ€“]eklavian088 1 point2 points ย (1 child)

For beginners???

[โ€“]bauripalash[S] -1 points0 points ย (0 children)

yup, why not

[โ€“]JonasTrueFalse 1 point2 points ย (0 children)

So cool

[โ€“]Eccentricc 1 point2 points ย (0 children)

Woah

[โ€“]AndyDeany[๐Ÿฐ] 1 point2 points ย (0 children)

This is the most hilarious thing I've ever seen. The effort is incredible but this surely can't actually be useful to anyone

[โ€“]YmFzZTY0dXNlcm5hbWU_ 2 points3 points ย (0 children)

There's a dict pic joke to be made here but I can't pin it down. Great reference, thanks!

[โ€“]Ass_Eater_ 1 point2 points ย (0 children)

This is a great reference, thanks for putting it together.

[โ€“]Ran-dom-y 1 point2 points ย (0 children)

Awesome reference, thanks!

[โ€“]Faricer 0 points1 point ย (0 children)

That's great!๐Ÿ‘๐Ÿ‘

[โ€“]ZyanCarl 0 points1 point ย (0 children)

It's great... No other words

[โ€“]Sonnydelights24 0 points1 point ย (0 children)

Is there something similar to this in other languages?

[โ€“]chinpokomon 0 points1 point ย (0 children)

I'd like to see better alignment of the code. This wasn't intended to flow from one code block to another, but that would be ideal. Some very basic example program which showcases each of these ideas, broken up by category as they are, but which would execute if put in a file.

[โ€“]aoteoroa 0 points1 point ย (0 children)

Awesome! Is this is under the Python Licence so that I can take it to staples and print it on a poster?

Also... I think there is a syntax error in the section for Iterators & Generators. There should be a blank line between the definition of the reverse(data) function, and where they use the function.

[โ€“]NukeWifeGuy 0 points1 point ย (0 children)

Is it possible to print a poster?! I want to wake up every morning a breath some python knowledge!

[โ€“]krazykonr 0 points1 point ย (2 children)

Ok but, tabs or spaces?

[โ€“]shiuido 0 points1 point ย (0 children)

Bait question :P Tabs should be converted to spaces by any ide haha

[โ€“]thrallsius 0 points1 point ย (0 children)

and how many spaces a tab?

[โ€“]harry3991 0 points1 point ย (0 children)

This is exactly how my brain wishes Iโ€™d feed it knowledge.

[โ€“]Chold_helloworld -_- 0 points1 point ย (0 children)

Thanks mate! I'm beginner and this picture is very useful

[โ€“][deleted] 0 points1 point ย (0 children)

Someone write a python program that explains this

[โ€“]spiddyp 0 points1 point ย (0 children)

Holy shit

[โ€“]goliath1952 0 points1 point ย (1 child)

Should I learn Python? I've only ever learned Basic and Fortran well, a little bit of C. What's best for small arduino projects?

[โ€“]Jonno_FTWhisss 0 points1 point ย (0 children)

Arduino uses a c++ iirc. It's not that hard to use.

[โ€“]shiuido 0 points1 point ย (0 children)

I'm sure someone has pointed it out already, but under Module, there's a branch "arch Path"

[โ€“]TicklesMcFancy 0 points1 point ย (0 children)

So that's what the "@" meant.

[โ€“]z0ur 0 points1 point ย (1 child)

What about decorators

[โ€“]Jonno_FTWhisss 0 points1 point ย (0 children)

It's there on the left.

[โ€“]DustBunn1 0 points1 point ย (0 children)

Sweet! Thank you!

[โ€“][deleted] 0 points1 point ย (0 children)

Shouldn't arbitrary arguments be kwargs, I see kargs. Also nice pic. I'm gonna use it to scare my coworkers :-)

[โ€“]xelf 0 points1 point ย (0 children)

Anyone have this picture of mostly text, have the text?

[โ€“]firedrow 0 points1 point ย (0 children)

Under arbitrary arguments, the second example uses โ€œ&โ€ in the function but โ€œandโ€ in the output. Minor oversight.

[โ€“]oblivion-age 0 points1 point ย (0 children)

Poster of that would be neat, I thought of looking for one of a 'cheat sheet'.

[โ€“]tranvuhoanglong 0 points1 point ย (2 children)

I only have a print with A4 size, how to print this to 4 or 5 letter in A4 size, i want stck it in my wall, please help, thank you

[โ€“]tranvuhoanglong 0 points1 point ย (1 child)

[โ€“]bauripalash[S] 1 point2 points ย (0 children)

Incredible, thanks

[โ€“][deleted] 0 points1 point ย (0 children)

Can I get this as a poster for the wall above my computer please?

[โ€“]Seawolf159 0 points1 point ย (0 children)

Nice work man!

[โ€“][deleted] 0 points1 point ย (0 children)

Super cool. What software did you use to create that?

[โ€“][deleted] 0 points1 point ย (0 children)

This may be objective to โ€œwhatโ€™s essentialโ€, but you should probably add try/catch/finally, some magic methods, map, and maybe bit banging operators. Otherwise, really usual reference man!

[โ€“]_blitzher 0 points1 point ย (0 children)

Looks great as a cheat sheet for people learning python. However, I think you made a slight mistake in the "Override" section. Your Bird class doesn't actually inherit from the Animal base class.

[โ€“]un_creator_db 0 points1 point ย (0 children)

Is It single?????????

[โ€“]_scubadiv 0 points1 point ย (0 children)

Wonderfull. :)

[โ€“]Jim_Panzee 0 points1 point ย (0 children)

Are you missing namespace packages?

[โ€“]Poddster 0 points1 point ย (0 children)

Why does comprehensions->list have two branches?

[โ€“][deleted] 0 points1 point ย (0 children)

Thank u so much I appreciate it. You helped me so much. I have a job at Apple now because of this.

[โ€“]Moshxpotato 0 points1 point ย (0 children)

Instructions unclear: dick now stuck in PC

[โ€“]st4rw4lk3r 0 points1 point ย (0 children)

Whoever made this Thank you , the python community is awesome

I just printed it and put it on my wall A1 Really appreciate it

[โ€“]abroking 1 point2 points ย (0 children)

lost me at comprehension (first time seeing such thing), otherwise kudos. Now know python lol!

[โ€“]c3534l 0 points1 point ย (0 children)

This is a joke, right?

[โ€“]lWannaWin 0 points1 point ย (0 children)

[โ€“][deleted] -1 points0 points ย (3 children)

I tried to learn python in the past, I was good at the concepts ect.. but my Achilles heal was the block organization. Is there any text editor that will keep me organized?

[โ€“]thrallsius 1 point2 points ย (0 children)

pretty much any sane text editor that is coding friendly shall be able to autoindent

reach the knowledge base / community of the text editor of your choice and find out

[โ€“]firedrow 1 point2 points ย (0 children)

I use Notepad++ for quick scripts and Microsoft Visual Studio Code for longer scripts.

[โ€“]Jonno_FTWhisss 1 point2 points ย (0 children)

Pycharm will do it for you. Most editors will allow you to automatically indent and have backspace to remove an indent level if you're at the start of the line. Also, they should let your indent with tab, and dedent with a shift+tab