To-Do List
To-Do List
On
"TO-DO LIST"
Submitted in partial fulfillment of the requirements for the award of the degree of
BACHELOR OF TECHNOLOGY
In
CSE (AI&DS)
BY
22BH1A7230 T.RISHWANTH
DEPARTMENT OF CSE(AI&DS)
[2023-24]
CERTIFICATE
This is to certify that project report entitled "TO-DO LIST” is bonafide work
carried out in the II/II semester by J.BHARATH KUMAR(22BH1A7212),
P.NAVEEN KUMAR(22BH1A7223), B.ARAVIND REDDY (22BH1A7202),
C.HARSHA VARDHAN REDDY (22BH1A7203),T.RISHWANTH(22BH1A7230)
in partial fulfillment award of Bachelor of Technology in CSE (AI&DS) from St.
Mary's Engineering College during the academic year 2023-2026.
EXTERNAL EXAMINER
ACKNOWLEDGEMENT
We convey our sincere thanks to Sri Rev. K.V.K RAO, Chairman of St. Mary's
Engineering College for giving us a learning environment to grow out self
personally as well as professionally.
We would like to express our thanks to all staff members who have helped
us directly and indirectly in accomplishing this project work. We also
extended our sincere thanks to our parents and friends for their moral
support throughout the project work. Above all, we thank god almighty for
his manifold mercies in carrying out this project work successfully.
T.RISHWANTH 22BH1A7230
DECLARATION
This is to certify that the work report in the thesis titled, "TO-DO LIST",
submitted to the Department of CSE (AI&DS), St. Mary's Engineering College
in fulfillment of degree for the award of Bachelor of Technology, is a
bonafide work done by us. No part of the thesis is copied from books,
journals, or the internet and wherever the portion is taken, the same has been
duly referred in the text. The reported results are based on the project work
entirely done by us and not copied from any other sources. Also, we declare
that the matter embedded in this thesis has not been submitted by us in full
or partially there for the award of any degree from any other institution or
university previously
T.RISHWANTH -22BH1A7230
INDEX
ABSTARCT 1
INTRODUCTION 2
PROBLEM STATEMENT 3
OBJECTIVES 4
SOFTWARE REQUIREMENTS 5
SOFTWARE ENVIRONMENT 6
10
SAMPLE OUTPUT
CONCLUSION 11
Abstract
To-Do List Project
def view_tasks(self):
for task_id, task_info in self.tasks.items():
status = "Completed" if task_info['completed'] else "Pending"
print(f"ID: {task_id}, Description: {task_info['description']}, Due Date: {task_info['due_date']},
Priority: {task_info['priority']}, Category: {task_info['category']}, Status: {status}, Creation Date:
{task_info['creation_date']}")
def main():
todolist = ToDoList()
while True:
print("\nToDo List")
print("1. Add Task")
print("2. Mark Task Completed")
print("3. Delete Task")
print("4. View Tasks")
print("5. Search Tasks")
print("6. Exit")
if choice == '1':
description = input("Enter task description: ")
due_date = input("Enter due date (YYYY-MM-DD): ")
priority = input("Enter task priority (high/medium/low): ")
category = input("Enter task category (e.g., work, personal, shopping): ")
print(todolist.add_task(description, due_date, priority, category))
elif choice == '2':
task_id = int(input("Enter task ID: "))
print(todolist.mark_task_completed(task_id))
elif choice == '3':
task_id = int(input("Enter task ID to delete: "))
print(todolist.delete_task(task_id))
elif choice == '4':
todolist.view_tasks()
elif choice == '5':
query = input("Enter search query: ")
matching_tasks = todolist.search_tasks(query)
if matching_tasks:
print("Matching tasks:")
for task in matching_tasks:
print(f"ID: {task['id']}, Description: {task['description']}")
else:
print("No matching tasks found.")
elif choice == '6':
print("Exiting...")
break
else:
print("Invalid choice. Please try again.")
if __name__ == "__main__":
main()
Sample Output
Conclusion
The To-Do List project provides a straightforward solution for
managing tasks effectively. This Python-based console
application allows users to add tasks, mark them as completed,
and view all tasks with their statuses. By offering a simple and
efficient interface, the system enhances productivity and
organization, making it an invaluable tool for individuals
seeking to manage their daily tasks more effectively.