Update to work with Sublime Text 3/Python 3

Updates some syntax to work with Sublime Text 3/Python 3