A modern and lightweight calculator application built using Python and CustomTkinter.
This project demonstrates how to create a clean, responsive and theme-friendly GUI calculator with minimal code and a professional UI.
- Modern UI powered by CustomTkinter
- Light & Dark mode support
- Responsive button layout
- Basic arithmetic operations (+, −, ×, ÷)
- Error handling for invalid operations
- Easy-to-understand code structure
- Language: Python
- GUI Framework: CustomTkinter
Here are some screenshots of the CTk Calculator project:
- Clone the Repository
git clone https://github.com/iamx-ariful-islam/CTk-Calculator.git
cd CTk-Calculator- Create Virtual Environment (Optional but Recommended)
python -m venv venv- Activate Virtual Environment
# for windows
venv\Scripts\activate
# for linux / macOS:
source venv/bin/activate- Install Required Packages
pip install -r requirements.txt
# or
sudo pip install -r requirements.txtThe requirements.txt file, lists of all the python libraries that my "CTk Calculator" depends on and installs those packages from the file.
python main.pyHere’s the structure of the CTk Calculator project:
CTk-Calculator/
│
│── screenshots/
│── main.py
│── LICENSE
├── README.md
└── requirements.txtContributions, suggestions, and feedback are always welcome! ❤️
To contribute:
- Fork the repository
- Create a new branch (
feature/new-feature) - Commit your changes
- Push and submit a Pull Request
💬 You can also open an issue if you’d like to discuss a feature or report a bug.
The MIT License (MIT)
“Good design is about making things simple yet significant”
— Md. Ariful Islam
