Import print function from future to ensure compatibility with Python 2.x
Removed duplicate newline at end of token output