Coding styles for python

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.

1. 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.

2. 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.

3. 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.

4. 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.

I hope you liked this post. Do share your views in the comments below.


One thought on “Coding styles for python

  1. kiranscaria says:

    It is not too often that people discuss this very important topic. Thanks to you for sharing it. Python is the language that has default set of styling rules, but many beginner courses miss it. Thanks for posting.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your 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