This is a simple Python script for managing tasks. Users can add tasks, view tasks, and mark tasks as completed.
- Clone this repository to your local machine:
- Navigate to the project directory:
cd task-manager
- Run the
task_manager.pyscript.
python task_manager.py
-
Select an option from the menu:
- Enter
1to add a task. - Enter
2to view tasks. - Enter
3to mark a task as completed. - Enter
4to exit the task manager.
- Enter
-
Follow the prompts to perform the selected operation.
- The task manager stores tasks and their completion status in a
tasks.txtfile. In order to run the code, there needs to be atasks.txtfile in the same folder. - Task indices start from 1 when viewing tasks.
- The code uses UTF-8 encoding, therefore supports writing tasks in different languages.
Feel free to use, modify, and extend the code as needed.
This project is licensed under the MIT License - see the LICENSE file for details.