News

In this case, the object is my_file, instantiated with the open()function. This replaces several lines of boilerplate to open the file, read individual lines from it, then close it up.