Back to Freecodecamp

Reading Files

curriculum/challenges/english/blocks/error-handling-files-and-modules-in-python/reading-files-video.md

latest376 B
Original Source

--description--

In this video, you will learn how to read files in Python and process their contents.

--questions--

--text--

What is the role of the "r" in the open() function?

--answers--

It specifies the range mode.


It specifies the rename mode.


It specifies the random access mode.


It specifies the read mode.

--video-solution--

4