Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python catch any exception

try:
    do_something()
except:
    print "Caught it!"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #catch #exception
ADD COMMENT
Topic
Name
5+4 =