Python Programming

Here are some of the various Python programming resources I use.

Google Python Style Guide

If you’re going to write code pick a standard, otherwise reading the code will be a nightmare. This way once someone learns to read your code it will be consistently readable.  Ideally pick a “good” standard to use, personally I like Google’s coding standard, it’s simple, readable and based off of PEP8.

http://code.google.com/p/soc/wiki/PythonStyleGuide

PyChecker

PyChecker catches a wide of variety of bugs and is quite handy for sanity checking your code.

http://pychecker.sourceforge.net/

Pyflakes

Pyflakes checks for various errors and can be integrated into your editor (via, emacs, etc.)

http://www.divmod.org/trac/wiki/DivmodPyflakes

http://pypi.python.org/pypi/pyflakes

Integrating it with emacs: http://dev-tricks.net/emacs-syntax-error-highlighting

StackOverflow

You can learn a lot by reading other peoples questions and answers (especially if the answers are correct and well written). Sometimes I just randomly read highly rated questions and answers, you can also get a better sense of why Python is built the way it is from these.

http://stackoverflow.com/questions/tagged/python

Other resources

http://blog.dispatched.ch/2011/06/12/how-to-become-a-proficient-python-programmer/

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: