Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print exection type

try:
    # some code
except Exception as e:
    print(type(e).__name__)
 
PREVIOUS NEXT
Tagged: #python #print #exection #type
ADD COMMENT
Topic
Name
2+8 =