r/Python • • Oct 05 '16

Python Cheat Sheet

https://www.cheatography.com/davechild/cheat-sheets/python/
79 Upvotes

32 comments sorted by

View all comments

Show parent comments

4

u/[deleted] Oct 05 '16

Stackoverflow.

2

u/PaulSandwich Oct 05 '16

They close the topic pretty quickly over at S.O. as being outside their format. The answers that slip through (at least for the first page of results) are, like I said, for python 2 or just links to the documentation.

2

u/[deleted] Oct 06 '16

Honestly, I'm not really sure how much of a help a cheatsheet for something like a programming language is. When I don't know or can't remember something S.O., the Official Python Docs or a blog found through google is usually where I find an answer. If you're looking for something specific to Py3 then make sure to put that in your Google Search: e.g. 'Python 3 list slicing'.

While 2 and 3 aren't binary compatible, I've personally found the most 2 code will work with a bit of fiddling.

(hope all this isn't too obvious)

1

u/LovecraftInDC Oct 06 '16

I just came to 3 after having very limited experience with 2 a few years ago. Google solved almost all of my issues, though.