Computer Science

When you open a file for reading, if the file does not exist, an error occurs.

Python File Handling

3 Likes

Answer

True

Reason — When a file is opened for reading using r mode (text files) or rb mode (binary files), if the file does not exist, Python raises an error.

Answered By

1 Like


Related Questions