Mastery 20 - File Input/Output
As we have seen before with WSQ09 (the photo above) and WSQ11 we can work with files in Python. The only thing we need to do is to open the file and then we can start working with it. We can read the lines of the file but these are taken as a default by Python (by saying something); we can also write something in a file. The basic commands you need to know to work with files are the following:
open() = opens the file
read()= reads the file
lower()= makes the entire file in lowercase letters
write()= makes you able to modify the file and write something in it.
close()= closes the file













