How do you print the traceback string from an exception try: whatever() except: print sys.exc_traceback gives me <traceback object at 351900> thanx