Skip to content

This a Basic Calculator done with python's Tkinter Library

Notifications You must be signed in to change notification settings

Insider4444/tkinter-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App

This is a simple calculator app built using Python and the Tkinter library. The app provides a graphical user interface (GUI) to perform basic arithmetic operations like addition, subtraction, multiplication, division, and percentage calculations. I used Tkinter-designer for Importing the UI from My Figma-Design

Features

  • User-friendly GUI with a sleek design
  • Basic arithmetic operations (+, -, *, /)
  • Percentage calculations
  • Support for decimal numbers
  • Clear input and backspace functionality
  • Error handling for invalid expressions

Requirements

  • Python 3.x
  • Tkinter library (usually comes bundled with Python installations)

Installation

  1. Clone the repository or download the source code.
  2. Make sure you have Python 3.x installed on your system.
  3. No additional dependencies are required since the project uses the built-in Tkinter library.

Usage

Navigate to the project directory in your terminal or command prompt. Run the following command to start the application:

python Gui.py
  1. The calculator app window will open.
  2. Use the on-screen buttons or your keyboard to enter numbers and perform arithmetic operations.
  3. Click the "=" button or press the "Enter" key to get the result.
  4. The app supports basic operations like addition, subtraction, multiplication, division, and percentage calculations.
  5. Use the "C" button to clear the input field.
  6. Use the backspace button to delete the last character from the input field.

Screenshots

Calculator App Calculator App
Screenshot 1 Screenshot 2

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

Acknowledgments

  • The project uses the Tkinter library, which is part of the Python standard library.
  • The app design and icons were created using Figma & icon from icons8 plugin.
  • This App Uses Tkinter-designer for Importing the UI from Figma. Tkinter-designer
  • The UI design was inspired by Calculator App in Oneplus & iOS devices.