Skip to content

A simple command-line To-Do List application built with Python. This program allows users to add, view, update, delete, and mark tasks as completed while saving progress using a JSON file.

License

Notifications You must be signed in to change notification settings

husseini2000/To-Do-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

📌 To-Do List CLI Application

📝 Overview

This is a simple command-line To-Do List application built with Python. It allows users to manage their tasks efficiently by adding, updating, deleting, and marking tasks as completed. Tasks are stored in a JSON file, ensuring persistence between sessions.

✨ Features

  • Add new tasks
  • 📋View all tasks
  • ✅Mark tasks as completed
  • 🗑Delete tasks
  • ✏️Update existing tasks
  • 💾Load tasks from a JSON file
  • 🔄Prevent duplicate task entries

🛠 Installation

Prerequisites:

  • Python 3.x installed on your system

Steps:

  1. Clone the repository:
    git clone https://github.com/husseini2000/To-Do-List.git
  2. Navigate to the project directory:
    cd To-Do-List
  3. Run the program:
    python todo.py

🚀 Usage

When you run the script, you will see a menu with the following options:

📌 TO-DO LIST 📌
1. Add a task
2. View tasks
3. Mark task as completed
4. Delete a task
5. Update task
6. Load tasks
7. Exit

Adding a Task

  1. Choose option 1.
  2. Enter the task description.
  3. Task is added and saved.

Viewing Tasks

  • Choose option 2 to display all tasks with their status (✅ for completed, ❌ for pending).

Marking a Task as Completed

  1. Choose option 3.
  2. Enter the task number.
  3. The task will be marked as completed.

Deleting a Task

  1. Choose option 4.
  2. Enter the task number to remove.
  3. The task will be deleted permanently.

Updating a Task

  1. Choose option 5.
  2. Enter the task number to update.
  3. Provide a new task name.
  4. The task will be updated.

Loading Saved Tasks

  • Choose option 6 to reload tasks from the JSON file.

Exiting the Program

  • Choose option 7 to exit.

🔮 Future Enhancements

  • Add due dates for tasks
  • Implement priority levels (Low, Medium, High)
  • Enable filtering tasks by status or priority
  • Support task categories or tags
  • Integrate with a database instead of a JSON file
  • Implement a graphical user interface (GUI)
  • Add notifications/reminders
  • User verification to create a profile for each user

🤝 Contributing

Contributions are welcome! Feel free to fork the repository, create a feature branch, and submit a pull request.

📝 License

This project is licensed under the MIT License.


🚀 Happy Task Managing! 🎯

About

A simple command-line To-Do List application built with Python. This program allows users to add, view, update, delete, and mark tasks as completed while saving progress using a JSON file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages