1def foo_function(debugger, args, result, dict): 2 print >>result, ("foobar says " + args) 3 return None 4