Skip to content

ToboreOghen/Expense-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“… Expense Tracker

A simple Python Expense Tracker built with Tkinter (GUI) and SQLite (database).
This project was developed as part of Week 5 in my AI learning journey.

It allows users to:

  • Add expenses with a description, amount, and custom date
  • View expenses for Today, All, or a specific date
  • Delete expenses from the list
  • Automatically calculate and display the total spent
  • Use scrollable lists for easy navigation of records

๐Ÿš€ Features

โœ… Add expenses with description and amount
โœ… Store data permanently using SQLite
โœ… Filter expenses by Today, All, or a Custom Date
โœ… Auto-numbering for expense entries
โœ… Display total expenses dynamically
โœ… Scrollbars for handling long records
โœ… Clean Tkinter-based GUI


๐Ÿ› ๏ธ Tech Stack

  • Language: Python 3.x
  • GUI: Tkinter
  • Database: SQLite3

๐Ÿ“ธ Screenshots

Main Interface
Expense List


๐Ÿ“– About This Project

This project was a bit challenging because of:

  • Debugging the date filter, where past expenses were showing up in the wrong date view
  • Fixing the entry numbering system, so every date view starts from 1 instead of continuing
  • Handling scrollbars for long expense lists

Working through these bugs gave me hands-on practice in debugging and improving my Python + Tkinter skills.


๐Ÿ”ฎ Next Steps

This will be my last Python project before moving into Data Science & AI development, which includes:

  • Linear Algebra
  • Statistics for AI
  • Vectors & Matrices
  • NumPy & Pandas
  • Matplotlib & Data Visualization

๐Ÿ† Learning Outcome

This project strengthened my understanding of:

  • Working with SQLite databases in Python
  • Building interactive GUIs with Tkinter
  • Implementing filters and dynamic lists
  • Debugging and testing projects for real-world use

๐Ÿ“‚ Project Structure

expense-tracker/ โ”‚ โ”œโ”€โ”€ expenses.db # SQLite database (auto-created when app runs) โ”œโ”€โ”€ expense_tracker.py # Main application file (Tkinter + SQLite logic) โ”œโ”€โ”€ screenshots/ # Folder containing project screenshots โ”‚ โ”œโ”€โ”€ add_expense.jpg โ”‚ โ”œโ”€โ”€ view_expenses.jpg โ”‚ โ””โ”€โ”€ delete_expense.jpg โ””โ”€โ”€ README.md # Project documentation


โšก How to Run

  1. Clone this repository:
    git clone https://github.com/ToboreOghen/Expense-tracker.git
    cd Expense-tracker
    python expense_tracker.py

About

๐Ÿ“… A Tkinter + SQLite Expense Tracker that lets you add, view, and delete expenses by date with auto-numbering and totals. Built as Week 5 of my AI learning journey.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages