Nov-11-2019, 04:45 PM
Use
if __name__ == '__main__': try: essai() except Exception as exc: t = exc.__traceback__ print(t)
Pythonn 3 getting the __traceback__attribute of an exception
|
|
Messages In This Thread |
Pythonn 3 getting the __traceback__attribute of an exception - by piscvau - Nov-11-2019, 03:56 PM
RE: Pythonn 3 getting the __traceback__attribute of an exception - by Gribouillis - Nov-11-2019, 04:45 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
During handling of the above exception, another exception occurred | Skaperen | 7 | 26,948 |
Dec-21-2018, 10:58 AM Last Post: Gribouillis |