Skip to content

Latest commit

 

History

History
73 lines (39 loc) · 1.58 KB

File metadata and controls

73 lines (39 loc) · 1.58 KB

python-expense-tracker

A Python console-based expense tracker using CSV file handling

Project Overview

This project is a Python console-based Expense Tracker that allows users to record daily expenses, store them permanently in a CSV file, view all expenses, and calculate total spending. The use of CSV file handling ensures data persistence even after the program is closed.

Project Objective

The objective of this project is to build a simple yet effective expense tracking system using Python that demonstrates file handling, data storage, and basic control flow concepts.

Features

Add new expenses with date, category, description, and amount

Store expenses permanently in a CSV file

View all saved expenses from the CSV file

Calculate total spending from stored data

Menu-driven and user-friendly console interface

  • Technologies Used

Python 3

CSV module

File Handling

Lists & Control Structures

  • Python Concepts Applied

csv module for reading and writing files

File handling using open()

Lists for structured data handling

Loops (while, for)

Conditional statements (if-elif-else)

User input handling

Data type conversion

  • Data Storage (CSV File)

All expenses are stored in a file named:

expenses.csv

Sample CSV Output: 01-02-2026,Food,Lunch,150 02-02-2026,Travel,Bus Ticket,50

Each row represents:

Date, Category, Description, Amount

-How to Run the Project

open folder in Vscode run code

show otput : {96818E95-AC02-40B2-ACFC-DAE5FD94FE4F}