/to-do-list

Check out this Python To-Do List! It's simple, intuitive, and helps you manage tasks effortlessly. Add, delete, and save tasks with ease. #Python #Productivity"

Primary LanguagePythonMIT LicenseMIT

To-Do List with Python GUI

Welcome to the To-Do List repository! 📝✨

Overview

This repository contains a simple To-Do List application built using Python and featuring a graphical user interface (GUI) for easy interaction.

ToDo List Preview

Features

  • Add Tasks: Quickly add new tasks to your to-do list.
  • Delete Tasks: Remove tasks from the list with a click.
  • User-Friendly Interface: Enjoy a clean and intuitive interface.
  • Save and Load: Save your to-do list to a file for later use.

How to Use

  1. Adding Tasks: Type your task into the input field at the top and press "Add Task".
  2. Deleting Tasks: Click on a task in the list and press "Delete Task" to remove it.
  3. Saving and Loading: Use the "Save List" and "Load List" buttons to manage your tasks across sessions.

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/855princekumar/todo-list-python-gui.git
  1. Navigate to the project directory:
cd todo-list-python-gui
  1. Run the application:
python todo_list.py

Convert to Executable

You can convert the Python code into an executable (.exe) file for easier distribution using pyinstaller. Follow these steps:

  1. Ensure pyinstaller is installed:
pip install pyinstaller
  1. Navigate to the directory containing your Python script (todo_list.py) in the command prompt or terminal.

  2. Run the following command to create the executable:

pyinstaller --onefile todo_list.py

This command will create a dist directory containing the executable file. The --onefile flag bundles everything into a single executable file.

Contributions

Contributions to enhance the functionality or fix issues are welcome. Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/improvement).
  3. Make your changes and commit them (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/improvement).
  5. Create a new Pull Request.

Requirements

  • Python 3.x
  • Tkinter
  • pyinstaller

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute this code for your purposes.

Happy task managing! 🚀