Skip to content

Mehul1437/todolist-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ ToDo List – Python CLI App

A simple command-line To-Do List application written in Python. It allows users to add, view, complete, and delete tasksβ€”all managed in a plain text file (tasks.txt).

πŸš€ Features

  • βœ… Add tasks
  • πŸ“‹ View all tasks
  • β˜‘οΈ Mark tasks as completed
  • ❌ Delete tasks
  • πŸ’Ύ Persistent storage using a text file

πŸ“‚ How It Works

Tasks are stored in a tasks.txt file in the same directory. Each task is prefixed with:

  • [ ] for incomplete tasks
  • [x] for completed tasks

πŸ› οΈ Requirements

  • Python 3.x

▢️ Usage

  1. Clone the repository:

    git clone https://github.com/Mehul1437/todolist-python.git
    cd todolist-python
  2. Run the script:

    python todolist.py
  3. Choose an action:

    ---- To-Do List ---
    1. Add Task
    2. View Tasks
    3. Mark Task as Completed
    4. Delete Task
    5. Exit
    

✨ Sample Output

---- To-Do List ---
1. Add Task
2. View Tasks
3. Mark Task as Completed
4. Delete Task
5. Exit
Enter your choice: 1
Enter the task: Buy groceries
Task added successfully.

πŸ§‘β€πŸ’» Contributing

Contributions are welcome! Please fork the repository and open a pull request.

πŸ“„ License

This project is licensed under the MIT License.


Made with ❀️ using Python

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages