print compatibility with python2