I\'m not even sure what the right words are to search for. I want to display parts of the error object in an except block (similar to the err object in VBScript, which has E
In other words,
try: 1/0 except Exception as e: print e
You can get the details in the manual pages linked by Ignacio in his response.