- App for Windows OS
- My first try with Tkinter (Python GUI module)
- Both non-OOP (main.py) & OOP (main_oop.py) codes
- Python / OOP
- Tkinter GUI library
- Free iOS calculator icon from iconfinder.com
Color | Hex |
---|---|
White | #FFFFFF |
Black | #000000 |
Off Black | #313131 |
Laughing Orange | #F69906 |
Red | #FF0000 |
-
Clear All functionality
-
Backspace functionality
-
Key binding:
- Escape -> Clear All
- Backspace -> Clear last char
- Enter -> Equals
- 0-9 & math operators -> Add it to equation
-
Message boxes for "ZeroDivisionError" & "SyntaxError":
Clone the project
git clone <[email protected]:georgievm/py-tkinter-calculator.git>
Go to the project directory and run the calculator.exe file.
This project is GPL v3 licensed.