Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print type error python

try:
    #Code to execute
except Exception as err:
    print(f"{type(err).__name__} was raised: {err}")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #type #error #python
ADD COMMENT
Topic
Name
8+2 =