The Expense Tracker is a simple Python command-line application designed to help you manage your monthly expenses efficiently. With this tool, you can keep track of your spending, stay within your budget, and make informed financial decisions.
- Add Expenses: Easily record your expenses with details such as name, category, amount, and date.
- Delete Expenses: Remove recorded expenses if needed, maintaining an accurate spending history.
- List Expenses: View a comprehensive list of all recorded expenses, including their details.
- Summarize Expenses: Get an overview of your spending by category, total spent, remaining budget, and daily budget for the current month.
- Budget Management: Set your monthly budget as a reference for expense tracking.
-
Python: The primary programming language used for writing the entire application.
-
Datetime: Python's datetime module is used for handling date and time operations, including parsing and formatting dates.
-
Calendar: The calendar module is used for calendar-related calculations, such as determining the number of days in a month.
-
File I/O: The code uses Python's built-in file handling capabilities to read from and write to a CSV file to store and retrieve expense data.
-
Classes and Object-Oriented Programming: The code defines a custom Expense class to represent individual expenses. Object-oriented programming principles are used to create and manipulate expense objects.
-
CSV Data Storage: The code stores expense data in a CSV (Comma-Separated Values) file, where each line represents an expense record with date, name, amount, and category fields.