Calculator This is a simple calculator application built using Python's tkinter library and customtkinter for enhanced UI. The calculator supports basic arithmetic operations, percentage calculations, and theme toggling between light and dark modes.
- Basic Arithmetic: Addition, subtraction, multiplication, and division.
- Percentage Calculation: Easily calculate percentages.
- Theme Toggle: Switch between light and dark themes.
- Keyboard Support: Use your keyboard for input, including numeric keys, operators, and special keys like Enter and Backspace.
Calculator
├── assets # Media used in the application
├── PresetConfig.py # UI styling and theme management
├── main.py # Main application entry point
└── README.md # Project documentation
- Python 3.9 or higher
- Required Python libraries:
customtkinterPillow
-
Clone the repository
git clone https://github.com/Yona2803/Calculator.git cd Calculator -
Install the required dependencies
pip install -r requirements.txt
-
Run the application
python main.py
- Launch the application.
- Type using keyboard number or by click on the buttons.
- Toggle between light and dark themes using the theme switcher.
Contributions are welcome!
Here’s how to get started:
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m "Add your message" - Push to your branch:
git push origin feature/your-feature-name - Open a pull request
This project is licensed under the MIT License.
- CustomTkinter – for the modern UI components
- Pillow – for image processing

