This needs `from __future__ import absolute_import, division, print_function` (I added it to hotp.py in a separate PR so don't add it in this PR!)