ID EN
Built-in Exceptions

FileNotFoundError

Python 3.11

Raised when a file or directory is requested but doesn’t exist. Corresponds to errno ENOENT.

Syntax

PYTHON
exception FileNotFoundError

See Also

ENOENT