Examveda

What is the purpose of the sys.exc_info() function in Python?

A. It returns information about the currently handled exception

B. It prints error messages

C. It raises an exception

D. It creates a function

Answer: Option A


This Question Belongs to Python Program >> Exception Handling In Python

Join The Discussion

Related Questions on Exception Handling in Python