This project implements a simple To-Do List Application using Python. The program utilizes a text file, gorevler.txt
, to store tasks. Users can list tasks, add new ones, edit existing tasks, and remove tasks from the list.
This function loads saved tasks from gorevler.txt
into a list when the program starts. If the file doesn't exist, it creates a new task list.
This function writes the current list of tasks to gorevler.txt
so that they are saved for future sessions.
This function prints all current tasks in a numbered list format.
This function allows the user to add a new task by typing it in. The new task is then added to the list and saved to the file.
This function displays all current tasks and allows the user to update the text of a selected task by its number.
This function displays all current tasks and allows the user to delete a selected task by its number.
To get started with the To-Do List Application, follow these steps:
- Clone or download the repository to your local machine.
- Make sure you have Python installed.
- Run the program by executing the Python file.
Note: The file
gorevler.txt
will be created automatically after you add your first task.
After running the program, you can interact with the To-Do List Application using the menu.
- List Tasks
- Add Task
- Edit Task
- Delete Task
- Exit
Enter the corresponding number (1–5) to perform the desired action. The program will prompt you for further input based on your selection.
Happy coding! 🚀