Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How do I ignore an error in Python?

Add Source
Use pass to ignore an exception
Within a try and except block, use pass in the except clause to indicate no action is required in handling the caught exception.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #ignore #error
ADD COMMENT
Topic
Name
5+1 =