This budget management system allows users to create and manage different spending categories, make deposits and withdrawals, and visualize spending patterns through a spending chart.
- Python 3.11
-
Clone the repository to your local machine:
git clone https://github.com/aymane66/budget-app.git
-
Navigate to the project directory:
cd budget-app
-
Run the main script:
python main.py
-
Open the
main.py
script to see an example of using the budget module. -
Modify the script or create your own instances of the
Category
class to manage different spending categories. -
Run the script to see the string representation of each category and the spending chart.
Through working on this budget management system app, I gained valuable experience and insights into several aspects of programming and software development:
-
Class Design: I learned how to design and implement classes, such as the
Category
class, to model real-world entities. -
Instance Methods: Understanding how to define and use instance methods allowed me to create a clean and modular code structure.
-
List Comprehensions: Leveraging list comprehensions improved the readability and conciseness of my code, especially when calculating total expenses and percentages.
-
String Formatting: Utilizing different string formatting techniques, such as f-strings, helped enhance the presentation of output in the string representation of categories.
This project provided a hands-on opportunity to apply theoretical knowledge and enhance practical skills, ultimately contributing to my growth as a developer.