Python Traceback The article. When your program results in an exception, Python will print the current traceback to help you know what went wrong.