May-29-2020, 02:34 PM
I don't know why this is rocket science but I cannot find any way to get just the error number in the exception handler. All the examples show how to get the text but not the error number. The documentation web server seems to be down.
Can someone save me from this frustration? TIA.
1 2 |
except PermissionError as e: print (????error number??????) |