Printing a full traceback displays all of the exceptions encountered, and their position in a program.
Solution for How to print a full traceback in Python : You can use traceback.format_exc() to print a full traceback Call traceback.format_exc() in the exception clause to return a string of the full traceback for the program.