python-guide
python-guide copied to clipboard
Python best practices guidebook, written for humans.
Is there really no section on 'Errors and Exceptions' or did I just not find it?
I would like to help.
A section on Mayavi can be added into the docs, since it is one of the very useful tools for 3D visualization.
The Code Style section discusses the use of PEP8 and `autopep8`. Yelp's [pre-commit](http://pre-commit.com/) framework allows you to formalise the use of PEP8 in a project by ensuring that PEP8/PyFlakes is...
such as ``` class A(object): data = {} >>> a = A() >>> a.data.update({'a': 1}) >>> b = A() >>> print b.data {'a': 1} ```
The two solutions in "What You Should Do Instead" are certainly correct, while there's another solution in that special case, one can simply change ``` return [lambda x : i...
Include Pygame. Include Pyglet : which is a a cross-platform windowing and multimedia library for Python. Also a Possibility to include Pyglet under "GUI Applications" Sections as pyglet website http://www.pyglet.org/...
I would like to contribute to the Virtual Environment Section by adding the 'Conda' Virtual Environment and Package Management. It comes along with the Anaconda Distribution developed by Continuum Analytics....
Add discussion of namespace packages (ala http://chimera.labs.oreilly.com/books/1230000000393/ch10.html#namespacepackage). I think the right place is in https://github.com/kennethreitz/python-guide/blob/master/docs/writing/structure.rst#packages.
I'm a little confused as to what this passage from [writing/structure](https://github.com/kennethreitz/python-guide/blob/master/docs/writing/structure.rst#modules) means. ``` Readability means to avoid useless boilerplate text and clutter, therefore some efforts are spent trying to achieve...