greg@315: import time,sys greg@315: def myprintfunc(arg): greg@315: print arg greg@315: sys.stdout.flush() greg@315: return arg