Core: learn it Step 7 of 16 on the Python Developer roadmap

Reading and writing files

Open files with with open('notes.txt') as f: so they close automatically when you are done. Practise reading line by line, writing new files and appending to existing ones.

Learn it on JeliScript

Resources

More in Files and errors

See it on the Python Developer roadmap