python print helper