To-Do List CLI App is a simple Python-based command-line application that helps you organize daily tasks efficiently. You can add, view, complete, or delete tasks directly from your terminal. It saves all data in a text or JSON file so your tasks remain even after closing the app.
A simple command-line To-Do List App built in Python.
It lets you add, view, mark complete, and delete tasks β all from your terminal.
Perfect for beginners to learn loops, conditionals, file handling, and basic logic in Python.
- β Add new tasks
- π View all tasks
- β Mark tasks as completed
- β Delete specific tasks
- πΎ Save tasks to a text/JSON file
- π Load tasks automatically when reopened
- Python basics (loops, conditionals, functions)
- File handling (
open,read,write) - Lists and dictionaries
- Input validation
- Python 3.x
No external libraries are needed β runs with standard Python!
- Clone the repository:
git clone https://github.com/your-username/todo-cli.git cd todo-cli - Run the program:
python todo.py
==== To-Do List App ====
- Add Task
- View Tasks
- Complete Task
- Delete Task
- Exit Enter your choice: 1 Enter task: Finish Python assignment β Task added successfully!
ποΈ File Structure
todo-cli/ β βββ todo.py # Main Python script βββ tasks.txt # Stores tasks persistently βββ README.md # Documentation
π Future Enhancements 1.GUI version using Tkinter 2. Due dates and categories 3. Priority levels 4. Colorful output with colorama 5. Sync with Google Tasks.