Fantastic amount of information in a single page. . However there are two things I do not like: 1. Use of notation for almost everything. It might be technically sound, but it brings to mind reading Backus-Naur form specs. For cheat sheets my_int, my_iterator etc format is more pleasant for eyes. 2. Examples from various external libraries are of questionable real life utility, they are a nice showcase of what is pos…
Python Cheatsheet
41–43 of 43 posts
Re: Python Cheatsheet
#42This is great, thanks Jure. For whatever reason I find it difficult to read documentation, I work much better with code examples, they speak to me much more clearly than a text explanation.
Official python documentation is awful to read, I always give up reading and look somewhere else. This page is great, I love it :)
Compare with numpy and scipy, where the docstrings are comprehensive (there's a correspondance between online and embedded docs.)
Re: Python Cheatsheet
#43who exactly is this aimed at? why would they not use the python on-line documentation?
I'm embarrassed to say I learned what generators are from this. 7 lines of code; totally unambiguous explanation. I don't even use iterators all that often, so I'm not surprised that I've never googled something that lead me to them.