Computer memory
is used by the program to store data (e.g. variables) while running the program
disappears when the program ends or the computer shuts down
is mainly managed by Python (you don't need to take care about it)
Files
can be used in a program to open or store specified data
data are stored permanently
storage and manipulation needs to be defined in the program (explicitly)