one could do this perhaps to enhance it a litte bit::
def w2f(self,*args,**kws):
if 'reset' in args or 'reset' in kws.keys():
reset=0
That way, one could call the w2f() like this:
context.w2f('The script','reset',firstname='Peter')
My intention was just to hint you of how to be able to print from Python Scripts that use 'return' |