← All terms · Errors & control flow
EAFP
“Easier to Ask Forgiveness than Permission”. Idiomatic Python: try the operation, catch the exception, rather than pre-checking.
Learn this interactively:
Open lesson lesson-103 →← All terms · Errors & control flow
“Easier to Ask Forgiveness than Permission”. Idiomatic Python: try the operation, catch the exception, rather than pre-checking.
Learn this interactively:
Open lesson lesson-103 →