In this lesson, students learn how to read all or a given number of characters from a file using Python.
Students will be able to
open()
function to open a file in read mode and the close()
method to close the file properly.read()
method and store them in a variableFileNotFoundError
, when attempting to read a file.These are all the activities included in the lesson