neatened printing for python2