As i am migrating my blog to my personal site, updated version of this post can be found here: http://blog.kmonsoor.com/seven-deadly-sins-in-python-code/
[ some of my friends expressed their confusion regarding the word used “Deadly“. To make things clear a bit, i have used the word NOT to express that this coding bad-practices harm human or any other life-form. Rather, i used the word to express the power of these to diminish the productivity of a Python programmer or his fellow teammate(s) who will work on the same code ]
There are a lot of ways someone can make his (or her) Python code extremely difficult for himself and his fellow developers to work with. But, the below ones are in my top-list.
Please take all these with quite a bit of salt, due to my limited expertise & very limited experience with different types of projects based on Python.
7 is just a catchy number. Of course, this top list is subject to change along with my experience. You are also most welcome to suggest your own-finding to make into this list.