Supporting other versions of Python than 2.7
Using Python platform lib to find major release/ version number