Coders Packet

To Do List in Python

By SOUHARDA MANDOL

A To-Do application, sometimes referred to as a task manager,users organize and manage their tasks more effectively from anywhere anytime.

A To-Do application, sometimes referred to as a task manager, lets users organize and manage their tasks more effectively.

Import the Tkinter module and initialize the root window. Using the configure() function, set the background color.

Define a function, delete_item(). Pass the  parameter to the delete function to remove the selected item from the list.

Define a function, add_item(). Use the get() function to retrieve the value input by the user to the end of the list.

If the list is empty, the element added will become the first entry in the list.

After adding the element to the list you need to remove it from the entry widget.

Use the delete function to remove the text inserted from the beginning to the end of its length.

The mainloop() function tells Python to run the Tkinter event loop and listen for events untioutputl you close the window.

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by SOUHARDA MANDOL (souharda)

Download packets of source code on Coders Packet