Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

try except python

try: #try to do the following
  print("Hi there")
except: #If what is meant to happen in (try) fails, do this.
  print("A error happened with the code above")
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
3+2 =