Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 2.14 KB

File metadata and controls

69 lines (47 loc) · 2.14 KB

Python Tkinter Task Manager

A simple task manager application built with Python and Tkinter. This application allows users to add, view, update, mark tasks as completed, and delete tasks.

Features

  • Add new tasks
  • View the list of tasks
  • Update existing tasks
  • Delete tasks
  • Simple, easy-to-use interface with Tkinter

Requirements

  • Python 3.x
  • Tkinter (usually comes pre-installed with Python)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/kavinu1/Python-Task-Manager.git
  2. Navigate into the project directory:

    cd python-tkinter-task-manager
  3. Make sure you have Python 3.x installed. Tkinter should be included by default. To check if Tkinter is installed, run:

    python -m tkinter

Usage

Adding a Task:

  • Enter the task description in the input field and click "Add Task". The task will appear in the list.

Viewing Tasks:

  • The application will display all tasks in the list with their descriptions.
  • Each task will have a button to mark it as completed or delete it.

Updating a Task:

  • Select the task from the list, edit the description in the input box, and click "Update Task". The selected task will be updated with the new description.

Deleting a Task:

  • Select the task you want to delete and click "Delete Task" to remove it from the list.

Code Structure

  • task_manager.py: Main script that runs the Tkinter application.
  • tasks.json: A simple json file (optional) for storing tasks persistently. This is where the tasks are saved and loaded from.

Credits

Troubleshooting

  • Tkinter not found: If you're using a custom Python installation or a virtual environment, make sure Tkinter is installed and properly configured. For Linux users, it may need to be installed separately via:
    sudo apt-get install python3-tk

Contributing

Feel free to fork the repository, create issues, and submit pull requests for any improvements or features you'd like to add!