Python Language


#1

Could someone please tell me whether this tutorial uses python version 2.* or 3.*?
also, what would be the best program for writing and executing my own programs in python? you can get visual studio for writing *.exe programs in c/c#/c++, but how do you do this in python?


#2

It is python 2.7.5 but I suggest if you want to get the interpreter to get both 2.7 and 3.4 because both are handy and to primarily learn on 3.4 but learn the differences so that you can program for 2.7 also.

Also to tell the Version number do the following,

CODE TO GET VERSION:

import sys
print (sys.version)