This is a Monthly Financial Expense Tracker made in Python and using SQL.
- Download python_financial_tracker repository to your computer
- Edit the following portion of code so that you can use your own SQL database (lines 18-23):
# connecting to database
mydb = mysql.connector.connect( host="localhost", user="root", password="1234password", database = "expenses" )
- Open your terminal and navigate to where you saved the file in your folders
- Once inside the directory, run the following command:
python3 main.py
- If you get any error about not being able to find the mysql.connector, run the following command:
pip install mysql-connector-python
- Then try running the python file again