I think  you need `from __future__ import print_function` here