Python Notes
Python Notes
ZEAL POLYTECHNIC
MICRO PROJECT
To do list application
Program: Computer Engineering
Program Code: CO
Course: Programming with Python
Course Code: 22616
Class: TYCO-B
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICA
TE
This is to certify that Mr. Saksham Vijay Pakhale Roll No. 05 of 6th Semester of Diplomain
Computer Engineering of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed the
Micro Project satisfactorily in Subject “Programming With Python” (22616) for the academic
year 2023-2024 as prescribed in the curriculum.
CERTIFICA
TE
This is to certify that Mr.Prathmesh Vijaykumar Patil Roll No. 07 of 6th Semester of Diploma
in Computer Engineering of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed the
Micro Project satisfactorily in Subject “Programming With Python” (22616) for the academic
year 2023-2024 as prescribed in the curriculum.
CERTIFICA
TE
This is to certify that Mr. Suyog Shivaji Sutar , Roll No.29 of 6th Semester of Diplomain
Computer Engineering of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed the
Micro Project satisfactorily in Subject “Programming With Python” (22616) for the academic
year 2023-2024 as prescribed in the curriculum.
CERTIFICA
TE
This is to certify that Mr. Rohit Digmbar Anarase , Roll No. 31of 6th Semester of Diplomain
Computer Engineering of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed the
Micro Project satisfactorily in Subject “Programming With Python” (22616) for the academic
year 2023-2024 as prescribed in the curriculum.
.
INDEX
1 ABSTRACT 8
2 MAIN CONTENT 8
4 CONCLUSION 11
8
6 REFERENCES USED
7 EVALUATION SHEET 9
ABSTRACT:
The project aims to develop a comprehensive To-Do List application to assist users in organizing tasks
efficiently. The application will provide a user-friendly interface with features including task
categorization, priority setting, due date tracking, and task completion tracking. Users will have
the ability to create, edit, and delete tasks, as well as receive reminders and notifications.
Additionally, the application will support synchronization acr oss multiple devices to ensure
seamless accessibility. By offering a robust and intuitive task management solution, the To-Do
List application seeks to enhance productivity and time management for individuals across
various domains..
MAIN CONTENT:
This project seeks to develop a user-friendly application that streamlines the process of
creating, managing, and tracking tasks. By leveraging modern technology and intuitive
design principles, the To- Do List application aims to provide users with a seamless and
efficient task management experience. Whether it's managing personal errands, work-related
projects, or academic assignments, the application offers a centralized platform for users to
prioritize, schedule, and complete tasks effectively.
Through the implementation of features such as task categorization, priority setting, due
date tracking, and synchronization across multiple devices, the To-Do List application
empowers users to stay organized and focused amidst the myriad of responsibilities they
face. Furthermore, the integration of reminders and notifications ensures that important
tasks are not overlooked, thereby fostering accountability and timely completion.
In essence, the To-Do List project endeavors to facilitate better time management, increased
productivity, and reduced stress for individuals across various domains. By providing a
comprehensive and customizable task management solution, the application aims to empower
users to take control of their daily lives and achieve their goals with greater efficiency and e
PROGRAM CODE :
import tkinter as tk
class ToDoList:
def _init_(self, root):
self.root = root
self.root.title("To-Do
List")
self.tasks = []
self.entry_task = tk.Entry(self.root,
width=50) self.entry_task.pack()
def add_task(self):
task = self.entry_task.get()
self.tasks.append(task)
self.update_task_listbox()
def delete_task(self):
selected_task_index =
self.task_listbox.curselection() if
selected_task_index:
del
self.tasks[selected_task_index[0
]] self.update_task_listbox()
def update_task_listbox(self):
self.task_listbox.delete(0,
9
tk.END) for i, task in
enumerate(self.tasks):
self.task_listbox.insert(i, task)
10
root = tk.Tk()
todo_list = ToDoList(root)
root.mainloop()
11
OUTPUT:
Add Task-
12
Delete Task-
13
EXPLAINATION OF CODE:
Python code-
import tkinter as
tk
Python code-
class
ToDoList:
def _init_(self, root):
...
def add_task(self):
...
def delete_task(self):
...
def update_task_listbox(self):
...
Python code-
15
self.entry_task = tk.Entry(self.root, width=50)
self.entry_task.pack()
self.add_button =
tk.Button(self.root, text="Add
Task", command=self.add_task)
self.add_button.pack(pady=2)
self.delete_button =
tk.Button(self.root, text="Delete
Task", command=self.delete_task)
self.delete_button.pack(pady=2)
Python code-
def add_task(self):
task = self.entry_task.get()
self.tasks.append(task)
self.update_task_listbox()
Python code-
def delete_task(self):
selected_task_index =
self.task_listbox.curselection() if
16
selected_task_index:
17
del
self.tasks[selected_task_index[0
]] self.update_task_listbox()
Python code-
def update_task_listbox(self):
self.task_listbox.delete(0,
tk.END) for i, task in
enumerate(self.tasks):
self.task_listbox.insert(i, task)
7. Create the Tkinter root window: This line creates the main
application window using Tkinter.
Python code-
root = tk.Tk()
Python code-
todo_list = ToDoList(root)
9.Start the Tkinter event loop: This line starts the Tkinter event
loop, which listens for events (such as button clicks) and
updates the application interface accordingly.
Python code-
root.mainloo
18
p()
19
CONCLUSION:
20
WEEKLY PROGRESS REPORT
MICRO PROJECT
11 13th Viva
21
MICRO PROJECT EVALUATION SHEET
Academic Year: 2023-2024 Name of the Faculty: prof.Puri sir
Course: computer engineering Course code: 22616
Semester: Vi
2)
2)
2)
(Signature of faculty)
22
23