python 2 compatibility for print function

python2 print_function issue