Yes, you can use pass in the except block if you want to catch an exception but don't want to do anything about it. However, this is generally not a good practice as it silently ignores errors.