A simple console-based Task Management System implemented in Python. This project allows users to add, view, update, delete, and mark tasks as completed. Tasks are saved to a file for persistence.
- Add new tasks with a title, description, due date, and priority.
- View all tasks with their details.
- Update existing tasks.
- Delete tasks.
- Mark tasks as completed.
- Persistent storage of tasks using a text file.
- Python 3.x
-
Clone the repository:
git clone https://github.com/your-username/task-management-system.git
-
Navigate to the project directory:
cd task-management-system -
Run the script:
python app.py
-
When you run the script, you will be presented with a menu:
======================================== Task Management System ======================================== 1. Add Task 2. View Tasks 3. Update Task 4. Delete Task 5. Mark Task as Completed 6. Exit ======================================== Enter your choice: -
Choose an option by entering the corresponding number.
-
Follow the prompts to add, view, update, delete, or mark tasks as completed.
app.py: The main script containing the Task Management System code.tasks.txt: The file where tasks are saved. This file is created automatically when you run the script for the first time.
Here’s an example of how the Task Management System looks in action:
========================================
Task Management System
========================================
1. Add Task
2. View Tasks
3. Update Task
4. Delete Task
5. Mark Task as Completed
6. Exit
========================================
Enter your choice:1
Add Task
Enter task title: Buy groceries
Enter task description: Milk, eggs, bread
Enter due date (YYYY-MM-DD): 2023-12-31
Enter priority (Low/Medium/High): High
Task added successfully.
Press Enter to return to the main menu...
Contributions are welcome! Please fork this repository and submit pull requests for any features, bug fixes, or enhancements.