Skip to content

RonnyScott/File-Handling-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

File Read & Write Program 🖋️

This Python program demonstrates how to handle files efficiently by reading content from an input file, modifying it, and saving the modified content to a new file. It also includes error handling to manage common issues, such as missing files or input/output errors.

Features

Read a File: Opens a user-specified file and reads its content. Modify Content: Converts the file content to uppercase. Write to a File: Saves the modified content into a new user-specified file. Error Handling:Handles cases where the input file does not exist. Manages issues related to reading or writing files. Provides user-friendly error messages for unexpected issues.

How to Use

Run the script in a Python environment Enter the name of the file you want to read when prompted. Enter the name of the file where you want to save the modified content. Check the new file to see the modified content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages