A

Admin • 802.91K Points
Coach

Q. How to read a binary file?

  • (A) open('file', 'r')
  • (B) open('file', 'w')
  • (C) open('file', 'rb')
  • (D) open('file', 'ab')
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
'rb' opens the file in binary read mode.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.