This is one of my first projects in Python where I’m learning about file handling and exception handling.
The program is very simple but it taught me a lot:
- How to open and read a file.
- How to write a new file with some changes.
- How to ask the user for a filename and handle errors if the file doesn’t exist.
It may not be perfect, but it’s a big step for me in learning how Python works with files.
input.py
→ my Python code.README.md
→ this description.
- Make sure Python is installed on your computer.
- Open a terminal in this folder.
- Run the file using:
python input.py