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
โ
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
- Language: Python 3.x
- GUI: Tkinter
- Database: SQLite3
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
1instead 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.
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
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
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
- Clone this repository:
git clone https://github.com/ToboreOghen/Expense-tracker.git cd Expense-tracker python expense_tracker.py