Question 1 of 5
What does open(path, encoding='utf-8') return?
open() opens the file and returns a file object representing the stream.
Review this lesson
Check your understanding of opening, reading, writing, closing, modes, and text versus binary file I/O.
Knowledge check
Check your understanding of opening, reading, writing, closing, modes, and text versus binary file I/O.
You can retake this quiz whenever you like.
Question 1 of 5
Question 2 of 5
Question 3 of 5
Question 4 of 5
Question 5 of 5