Computer Science

Which of the following mode will refer to binary data ?

  1. r
  2. w
  3. +
  4. b

Python File Handling

3 Likes

Answer

b

Reason — When we open a file in binary mode by adding 'b' to the file mode, it indicates that the file should be treated as a binary file.

Answered By

2 Likes


Related Questions