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.py
script.
python task_manager.py
-
Select an option from the menu:
- Enter
1
to add a task. - Enter
2
to view tasks. - Enter
3
to mark a task as completed. - Enter
4
to 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.txt
file. In order to run the code, there needs to be atasks.txt
file 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.