The default file open mode is called… ………
Answers
Answered by
10
Answer:
The open() function opens a file in text format by default. To open a file in binary format, add 'b' to the mode parameter. Hence the "rb" mode opens the file in binary format for reading, while the "wb" mode opens the file in binary format for writing. Unlike text mode files, binary files are not human readable.
I hope it helps u........
Plzz mark me as brainliest answers.............
Answered by
5
Explanation:
The access modes available for the open function are as follows: r : Opens the file in read-only mode. Starts reading from the beginning of the file and is the default mode for the open function. rb : Opens the file as read-only in binary format and starts reading from the beginning of the file.
Similar questions
English,
3 months ago
Economy,
3 months ago
English,
3 months ago
English,
6 months ago
India Languages,
10 months ago
Computer Science,
10 months ago