pyb function: print args after clear