Python, jak zrzucić wyjątek Stak

import traceback

try:
    do_stuff()
except Exception:
    print(traceback.format_exc())
Repulsive Raccoon