Python 2 compatibility

Hello,

thanks for your reply via mail / issues-thread! It was very helpful.

Thanks,
Lukas