Python 2 version

Added a Python 2.7 version for Hexchat support (only because I switched from XChat to Hexchat).