Skip to content

HaiderNeuralNet/File-Handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📁 Python File Handling (CRUD Project)

Python CRUD CLI

📋 Table of Contents

A beginner-friendly Python project that demonstrates CRUD operations (Create, Read, Update, Delete) using the built-in pathlib and os modules.

This application allows users to manage files directly from the terminal through a simple interactive menu system.


🚀 Features

  • ✅ Create new files
  • 📖 Read existing files
  • ✏️ Update files
    • Rename file
    • Overwrite content
    • Append new content
  • 🗑️ Delete files
  • 📂 Displays all files in the current directory

🛠️ Technologies Used

  • Python 3.11+
  • pathlib module
  • os module
  • Command Line Interface (CLI)

▶️ How to Run (Step-by-Step)

1️⃣ Prerequisites

  • Python 3.11+ installed

2️⃣ Clone the Repository

git clone https://github.com/HaiderNeuralNet/File-Handling.git

3️⃣ Navigate to Project Folder

cd File-Handling

4️⃣ Run the Program

python main.py

🎯 Project Purpose

This project was built to strengthen understanding of:

File handling in Python

Working with system paths

Exception handling

Building CLI-based applications


🔥 Now Final Step

  1. Go to your GitHub repository
  2. Click README.md
  3. Click ✏️ Edit
  4. Paste this content
  5. Click Commit changes

👨‍💻 Author

Haider Ali Shah

Aspiring AI & LLM Engineer 🚀

About

A simple Python file handling project that performs basic CRUD operations using pathlib and os. It lets users create, read, update, and delete files through an easy terminal menu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages