Fork me on GitHub

  1. Coding styles for python

    July 29, 2013

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

    read more
  2. Setting up python on windows

    July 29, 2013

    Hi there pythonistas. Most of the new python programmers don't know how to correctly install python on windows. Today I am going to share clean and clear instructions on how to install python on a Windows 7 machine. There are only 4 steps involved so without wasting a minute ...

    read more
  3. Packaging your python scripts.

    July 29, 2013

    Oh hi there! Welcome to another useful post. This post is going to be about how to package your python scripts and packages for distribution on PyPI or some other place.Here I won't go too deep into explaining everything as most of us just need to know the ...

    read more
  4. Dictionaries have a get() method

    July 29, 2013

    Okay here we are with yet another post. However this post is going to be short as in this post i am going to teach you a small, simple and very useful trick. Have you ever tried to access a value from a dictionary and got an exception that there ...

    read more
  5. The use of return and global keywords.

    July 28, 2013

    Okay so here we have another post. This post is about the return keyword. you might have encountered some functions written in python which have a return keyword in the end of the function. Do you know what it does ? Lets examine this little function:

    >>> def add(value1,value2):
    ...     return ...
    read more
  6. Generating a random string.

    July 28, 2013

    Okay so most of us do not know how to generate random strings which include letters and digits. This can be really useful for generating a password or something else just use your evil mind. Okay so how do we generate a random string. Have you ever heard of the ...

    read more

« Page 8 / 9 »