anu bhaisab anu bhaisab - 1 year ago 60
Python Question

Python traceback module for beginners

I am new to python and am finding it difficult to understand the official document for the traceback module

If someone could please guide me on how to extract the traceback paramenters ( offending line of code etc) , I would be very greatful.

I could also use some understanding on how traceback functions if there are two exceptions in the code , can we pass traceback for them both

Answer Source

You can take a look at these tutorials that helped me out:

Some general info about exception handling.

Python Exception Handling Techniques

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download