Last active
March 16, 2016 13:52
-
-
Save JeffreyMFarley/3b6ca9990a7ffcdd2f8e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, traceback | |
try: | |
i = 1 / 0 | |
except Exception: | |
for fncall in traceback.format_exception(*sys.exc_info()): | |
print(fncall) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment