In Python, if I open a binary file that doesn\'t exist, the program exits with an error and prints:
Traceback (most recent call last): File \"C:\\Python_te
Thanks for all.
That's, what I needed :)
import traceback try: # boom except Exception: print traceback.format_exc()