Hello once again! In this part of the course, we will teach you how to handle files in Python. Precisely speaking, you will learn how to open, read, and modify text files.
Text files are extremely useful to programmers. For instance, they can be used to:
- Store the results of your application on a hard drive.
- Exchange information between various people.
- Load and process user input or user data.
A technical detail before we start: at any point, you can check the contents of the files mentioned in the explanation and/or exercise by clicking the 'Files' icon to the right of the Academy code editor.
Are you ready?