In Python, opening a file that does not exist raises FileNotFoundError
Terms
| Term | This example | Why |
|---|---|---|
| exception | ✓ | The FileNotFoundError is an exception that the program can handle.
|
| bug | ✗ | The FileNotFoundError is not a bug, because a missing file is an expected condition, not a mistake in the code.
|