A lightweight, efficient Command-Line Interface (CLI) application built to manage daily tasks. This project focuses on core programming principles like file I/O, list manipulation, and robust user input processing.
- ➕ Add Tasks: Quickly append new items to your persistent list.
- 📂 View List: See all pending tasks in a clean, numbered format.
- ❌ Remove Tasks: Delete completed tasks easily by referencing their ID number.
- 💾 Data Persistence: Tasks are automatically saved to a local
todo.txtfile. Your data remains safe even after closing the program. - 🛡️ Error Handling: Built-in protection against invalid inputs (e.g., entering text when a task ID number is required).
Ensure you have Python 3.x installed on your system.
- Download or clone the
todo_list.pyfile. - Open your terminal or command prompt.
- Navigate to the folder containing the file:
cd path/to/your/folder - Run the application:
(Note: Use
python todo_list.py
python3 todo_list.pyif you are on macOS or Linux).
| Component | Description |
|---|---|
| Language | Python 3.x |
| Storage | Text File I/O (todo.txt) |
| Modules | os (File existence checks & management) |
| Concepts | Exception Handling, List Slicing, CRUD Operations |
├── todo.py # Main application logic
├── Project_Report.pdf # Report of the project
└── README.md # Project documentation
Tanmay Tiwari Aerospace Engineering Student & Python Developer