Py3: get rid of print statements