Updated python script so it supports both python3 and python 2.6+
Made python script more pythony. Naming conversions, line breaks and tabbing all follow proper conventions. Function main is also being correctly followed now as well.
Fixed comment in code.
Merge pull request #4 from twotoasters/python_script_updates

Python script updates