I have written a script in Python. It has a GUI which I intend to distribute to my colleagues. If when they run it and encounter a bug, is there a way to have these errors be written to a text file so I can know what the bug was? In Jupyter notebook whenever I encounter a bug in my script, it shows as Traceback error. I want to see that kind of information in the text file whenever someone finds a bug.
Thank you