Have you ever wondered how to check the install path of python and it's version ? If you have then this post is for you. It is very easy to check the version and install location of python on linux as well as on windows. First I will show the ...!--more-->
read more-
-
Coding styles for python
July 29, 2013Yet 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 ...
-
-
Setting up python on windows
July 29, 2013Hi 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 ...!--more-->
read more -
Packaging your python scripts.
July 29, 2013Oh 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 ...!--more-->
read more -
Dictionaries have a get() method
July 29, 2013Okay 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 ...!--more-->
read more -
The use of return and global keywords.
July 28, 2013Okay 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:
read more>>> def add(value1,value2): ... return ...