Opening and closing files (read, write, append modes), Reading and writing data to files, Exception handling (try-except blocks)