Fork me on GitHub

  1. Python decorators finally demystified

    December 04, 2013

    Hi there guys! I hope all of you are fine and doing well. Recently I was hanging out on a python related IRC where I got a request from someone to write an article on decorators in Python. It is perhaps one of the most difficult concept to grasp. So ...

    read more
  2. Targeting python 2 and 3 at the same time.

    July 30, 2013

    Hi there pythonistas. Today i am not going to write a lengthy tutorial about how to make your programs compatible with python 2 and 3 at the same time, but i am going to share a simple tip with you guys which will help you achieve this target. Just imagine ...

    read more
  3. What is __init__.py ?

    July 28, 2013

    Okay yet another useful post. This post is really important and useful for anyone just starting out with python. So what is the __init__.py file ?

    Files name __init__.py are used to mark directories on disk as Python package directories. If you have the files

    mydir/spam/__init__.py ...
    read more

Page 1 / 1