I want to print the exact same result that is displayed when the exception is raised without the try..except intercepting the exception, and I do not want it to exit my program. How do I do this?
try:
do_stuff()
except Exception, err:
print(Exception, err)
# I want to print the entire traceback here,
# not just the exception name and details