def eprint(*args, **kwargs): """ prints to stderr, using the 'from __future__ import print_function' """ print(*args, file=sys.stderr, **kwargs)