Skip to content

akanksha-1309/elevate-labs-task2-todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console-Based To-Do List Application (Python)

📌 Project Description

This project is a console-based To-Do List Manager developed using Python as part of the Elevate Labs Python Developer Internship Task 2.

The application allows users to manage daily tasks efficiently through a simple terminal interface. Tasks are stored permanently using file handling so they remain available even after restarting the program.


🚀 Features

  • View all saved tasks
  • Add new tasks
  • Remove existing tasks
  • Mark tasks as completed
  • View pending and completed tasks separately
  • Display task statistics (total, completed, pending)
  • Completion status tracking using checkbox format
  • Confirmation before deleting tasks
  • Automatic timestamp when task is added
  • Persistent task storage using text file
  • User-friendly console menu interface
  • Error handling for invalid input


📸 Application Screenshots

🔹 Main Menu Interface

Displays the available operations of the To-Do List Manager.

Main Menu


🔹 Add Task with Timestamp

Allows users to add tasks with automatic date and time.

Add Task


🔹 Mark Task as Completed

Updates task status from pending [ ] to completed [✓].

Mark Completed


🔹 Task Status View (Pending vs Completed)

Separates pending and completed tasks clearly.

Task Status


🔹 Task Statistics Feature

Shows total, completed, and pending task counts.

Task Statistics


🛠 Technologies Used

  • Python
  • File Handling
  • Lists
  • Functions
  • String Manipulation
  • Datetime module

📂 Project Structure

todo.py → main application file
tasks.txt → stores saved tasks
README.md → project documentation

▶ How to Run the Program

Step 1: Run the following command in terminal: python todo.py

Step 2: Choose options from menu: 1 → View tasks 2 → Add task 3 → Remove task 4 → Exit


📚 Concepts Practiced

  • Python Lists
  • File Handling (read/write)
  • Context Managers (with statement)
  • Exception Handling
  • Functions in Python
  • Input validation

📌 Internship Task Details

Task Name: Console-Based To-Do List Application
Internship Role: Python Developer Intern
Organization: Elevate Labs


✅ Outcome

Successfully developed a persistent console-based task manager that allows users to add, view, and delete tasks stored locally using Python.

About

Console-Based To-Do List Manager built using Python with file handling. Supports task add, remove, mark completed, task status filtering, statistics tracking and persistent storage using text files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages