Yet another useful post and this one is about coding styles in python. Everyone has his own coding style in python. Here i am going to post some links that will help you to choose your own coding style in python.
-
The first link is undoubtedly from the official python documentation as python documentation has everything to get you started. This link will teach you how to use python and how not to use python.
http://docs.python.org/2/howto/doanddont.html
-
The second link is from the famous PEP-8 which is python's official style guide. It determines the python's official coding standards. You should definitely take a look at them and try to incorporate them in your code.
http://www.python.org/dev/peps/pep-0008/
-
The third link is from google because as you know google is a huge user of python and most of their infrastructure is based on python as is their online support forum. So it's not surprising that google has it's own style guide for python.
http://google-styleguide.googlecode.com/svn/trunk/pyguide.html
-
So the last link is from khanacademy. As you know it's the biggest online academy and whole of their online infrastructure is based on python. I really love their python style guide.
https://sites.google.com/a/khanacademy.org/forge/for-developers/styleguide/python
I hope you liked this post. Do share your views in the comments below.
Comments