PDB (and other Python debuggers) have a simple way of viewing the value of any current variable, just by typing it in. However, sometimes I work with libraries that don\'t store
Can you explain more?
What do you mean by "see the return value"? If you just want to print it...
def do_stuff(*args, **kwds): result = f(*args, **kwds) print result return result