Single Choice Not Set

QTo open a file c:\scores.txt for reading, we use

ID: #3653 Python File Handling 311 views
Question Info
#3653Q ID
Not SetDifficulty
Python File HandlingTopic

Choose the Best Option

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

  • A infile = open(
  • B infile = open(
  • C infile = open(file =
  • D infile = open(file =
Correct Answer

Explanation

Open () function creates a file object which would be utilised to call other methods associated with it.
file object = open [file name (acess_mode]),
(buffering)] open ( file name, [acess_mode] ,
[buffering] )

No Previous Next Question

Share This Question

Challenge a friend or share with your study group.