June 3, 2025
Hanji, If you're just starting your Python journey or you're a college student looking for a hands-on mini project, this is for you! In this we’ll build a console-based .To-Do App in Python with file handling also introduces basic CRUD operations. Are you ready my Darlings ?
β Features Built Live:
βοΈ Add Update Functionality
Allow users to update an existing task (e.g., replace "Apply for the JOB" with "Apply for the JOB atleast 5").
Feature | Function Used | Description |
---|---|---|
View Tasks | enumerate( ) | Displays all current tasks |
Add Task | append( ) | Adds a new task to the list |
Delete Task | pop(index) | Deletes selected task by number |
Save Tasks | write( ) | Writes updated list back to file |
Load Task | read( ).splitlines( ) | Reads tasks from file line by line |
Hint: Use task_list[ index ] = new_value to replace a task.
November 25, 2024
October 26, 2024