compatibility with python 3

The application now also works with python 3 :)