Single Choice Not Set

QWhat does the following statement do?
x = open('python.bat', 'rb')

ID: #3730 Python File Handling 315 views
Question Info
#3730Q ID
Not SetDifficulty
Python File HandlingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Opens an existing text file named python.bat to write
  • B Opens an existing binary file named python.bat to write
  • C Opens an existing binary file named python.bat to append
  • D Opens an existing binary file named python.bat to read
Correct Answer

Explanation

Opens an existing binary file named python.bat to read

Share This Question

Challenge a friend or share with your study group.