change from python2 to python3 print format