FileNotFoundError

The exception raised when a program tries to open a file that does not exist at the given path.

In more detail

With a relative path the usual cause is running the program from a different folder than you think. Print Path.cwd() and check the spelling, including the file extension.

Related terms

Taught in

References

Certification courses