The `from __future__ import print_function` is necessary if you want to pass in any arguments to the print function, e.g. `file=sys.stderr`.

The alternative is to do `sys.stderr.write`.