The Task Scheduler System is a simple command-line program that helps you manage your tasks efficiently. It allows you to create, assign, complete, and delete tasks with ease. This system provides a user-friendly interface to keep track of your tasks and their statuses.
- Create tasks with a name, description, due date, and priority.
- Assign tasks to specific individuals.
- Mark tasks as completed once they are finished.
- View all tasks in a tabular format.
- Delete tasks that are no longer needed.
Before running the Task Scheduler System, ensure that you have the following installed on your system:
- Python 3.x
Required libraries:
- colorama
-
Extract the contents of the provided ZIP folder to your desired location on your computer.
-
Open a terminal or command prompt and navigate to the directory where the extracted files are located.
-
Install the required dependency by running the following command:
pip install colorama
-
Open a terminal or command prompt in the directory where the files are located.
-
To run the Task Scheduler System, use the following command:
python task_scheduler.py
-
The main menu will be displayed with various options:
-
Create Task: Enter task details such as name, description, due date (YYYY-MM-DD), and priority (High/Medium/Low).
-
Assign Task: Assign a task to a specific individual. You can choose from the list of tasks and provide the assignee's name.
-
Complete Task: Mark a task as completed. You can select the completed task from the list.
-
View All Tasks: Display a table with all tasks and their details, including name, description, due date, priority, status, and assignee (if assigned).
-
Delete Task: Delete a task from the list. You can select the task to be deleted from the table.
-
Exit: Save all tasks to the file and exit the program.
-
-
Date Format:
When creating a task, enter the due date in the format
YYYY-MM-DD
. For example,2023-12-31
. -
Priority:
When creating a task, specify the priority as one of
High
,Medium
, orLow
. The program is case-insensitive. -
Assigning a Task:
You can only assign tasks that are in the "Assigned" status. If a task is already assigned, you can change the assignee's name.
-
Saving and Loading:
The tasks are automatically saved to a text file named
task_scheduler.txt
. When you run the program next time, it will load the tasks from this file.
Here is a step-by-step guide with images to demonstrate how to use each function of the Task Scheduler System:
[Image: Create Task]
-
Select "Create Task" from the main menu.
-
Enter the task name, description, due date, and priority.
-
Press Enter to create the task.
[Image: Assign Task]
-
Select "Assign Task" from the main menu.
-
View the list of tasks and their current status.
-
Enter the index of the task you want to assign.
-
If the task is unassigned, enter the name of the assignee and press Enter.
-
If the task is already assigned, you can change the assignee's name by entering a new name.
-
Select "Complete Task" from the main menu.
-
View the list of assigned tasks.
-
Enter the index of the task you have completed and press Enter.
-
Select "View All Tasks" from the main menu.
-
A table will be displayed with all tasks and their details.
-
Select "Delete Task" from the main menu.
-
View the list of tasks and their details in a table.
-
Enter the index of the task you want to delete and press Enter.
Select "Exit" from the main menu to save all tasks to the file and exit the program.
-
The program uses the Colorama library to display colored output on Windows.
-
The task details are stored in memory while the program is running. To persist the tasks between sessions, they are saved to the text file.
-
The program checks for valid input for dates and priorities. It will prompt you to re-enter if the input is invalid.
If you encounter any issues or have questions about the Task Scheduler System, please feel free to reach out to the developer at [[email protected]].
This project is licensed under the MIT License.