Skip to content

Commit

Permalink
Tkinter-Calculator-App
Browse files Browse the repository at this point in the history
  • Loading branch information
Insider4444 committed Apr 29, 2024
0 parents commit da30afc
Show file tree
Hide file tree
Showing 26 changed files with 597 additions and 0 deletions.
542 changes: 542 additions & 0 deletions Gui.py

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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.

## 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:
```bash
python Main_Gui_Calculator.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](/assets/frame0/ss1.png) | ![Calculator App](/assets/frame0/ss2.png) |
|--------------------------------------------|--------------------------------------------|
| *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 & retrived icon from icons8 plugin].
- The UI design was inspired by Calculator App in Oneplus & iOS devices.
Binary file added assets/frame0/button_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/button_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/entry_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/ss1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/frame0/ss2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit da30afc

Please sign in to comment.