Added a Python 2.7-compatible version

NOTE: Still needs to be tested on Python 2.7.
Py2.7 fixed. Also fixed Py3.3Bangline

Fixed the Python 2.7 version
Also fixed the Python 3.3 version's bangline.