This project demonstrates file handling in Python, including:
- Reading from a user-specified file
- Modifying its contents (by reversing each line)
- Writing the modified output into a new file
- Handling common file-related errors gracefully
- β Reads a text file from user input
- β Reverses each line of text
- β Saves the modified content into a new file
- β Prevents accidental overwrites by asking for confirmation
- β
Error handling for:
- Missing files
- I/O issues
- Unexpected runtime errors
- Clone this repository:
git clone https://github.com/yourusername/week4-file-structure.git cd week4-file-structure