Skip to content

SpongeBobWillReignSupreme/ExpenseTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Expense Tracker

This is my first time coding anything in Python, so I hope it's okay.

Expense Tracker is a simple Python script that allows users to track their expenses by category. It provides functionality to add expenses and view expenses under specific categories, along with the total expenses for each category.

Features

  • Add Expense: Users can add expenses by specifying the date, category, and price.
  • View Expenses by Category: Users can view expenses under a specific category and see the total expenses for that category.
  • Easy to Use: Simple command-line interface makes it easy for users to interact with the program.
  • Data Persistence: Expenses are stored in a CSV file for easy access and persistence between sessions.

Usage

  1. Clone the Repository:

    git clone https://github.com/SpongeBobWillReignSupreme/ExpenseTracker.git
    
  2. Navigate to the Directory:

    cd ExpenseTracker/src
    
  3. Run the Script:

    python ExpenseTracker.py
    
  4. Follow the Prompts:

    • Choose an option to add expenses or view expenses by category.
    • Enter the required information when prompted.
    • Follow the on-screen instructions to navigate through the program.

Example

Here's an example of how to use the Expense Tracker:

  1. Add expenses:

    Enter the date (YYYY-MM-DD): 2024-05-01
    Enter the category: Food
    Enter the price: 25.50
    Expense added successfully.
    
  2. View expenses by category:

    Enter the category to view expenses: Food
    
    Expenses under Food:
    Date: 2024-05-01, Price: 25.50
    Total expenses under Food: 25.50
    

Contributing

Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.

License

This project is licensed under the GNU 3.0 License. See the LICENSE file for details.


About

Making an expense tracker in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages