Rsdt/python3

It should be both python 2.7 and python 3 compatible.