This is the minimalistic calculator that has been developed using Python and Tkinter. It deals with the basic arithmetic operations and the interface makes it way easier for the users to get to the necessary page.
- Basic arithmetic operations: addition, subtraction, multiplication, and division.
- A beautiful and user-friendly interface that is more pleasant to look at and work with.
- A wider input box which you can use for easier reading and writing.
- The clear button to erase whatever entry that had been input in the total box.
- The delete keybutton to take off the last sign.
- Responsive buttons having the hover effects.
- Clone the Repository
git clone https://github.com/deadxfire/Python-GUI-Calculator.git cd Python-GUI-Calculato
Getting the Calculationponent First of all, make sure that you have Python installed on your computer. You will need to go to python.org to do this. Running the ApplicationbashCopy codepython calculator.py
Usage Server Start This line will start the calculator application.bashCopy codepython calculator.py
Using the CalculatorClick on numbers and operations the calculator is providing.Enter the expression and click on the = button to get the result.Use the C button to clear the input.Use the ⌫ button to delete the last character. Clicking on the buttons to input numbers and operations. Pressing the = button to evoke the expression. Utilizing the C button to delete the input. Use the ⌫ button to delete the last character.
Code Overview calculator.py This is the main file which is the basis of the application. It consists of the following parts: Creating functions responsible for changing the display, removing the display, calculating the expression, and deleting the last character. The contace of the main window using Tkinter. Build the buttons for the grid. Inserting a label to the credits in the last position of the window.
Screenshots
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by DeadXFire. Icons made by Flowicon from Flaticon are used in this project. Specifically, calculator icons are created by Flowicon - Flaticon.
In case of any queries, do not hesitate to contact me!
