Python3 support

Hello,

This is still using python2, which is being phased out.

Samuel