Print all exceptions in Python
All the exceptions can be printed using the following format.
except:
print sys.exc_info()[0:2]
For Techs.... Techniques.... Technologies....
All the exceptions can be printed using the following format.
except:
print sys.exc_info()[0:2]