print.py switch args to be safer