I am new to python and am finding it difficult to understand the official document for the traceback module http://docs.python.org/release/3.1.5/library/traceback.html
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
You can take a look at these tutorials that helped me out:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.