LPTHW - Exercise 15: Reading Files
LPTHW - Exercise 15
This is an interesting lesson. It may take a few minutes to get the mental abstraction of what is going on with the open() and read() commands.
Open and read? When we work with and open files ourselves in something like a text document, we associate 'open' with 'read' i.e. we as humans read the file immediately as it opens, so we can do stuff with it.