Fixed parsimonious printing for python 3.