Skip to content

RajeshTechForge/GUI-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GUI_Calculator_template

Overview

This repository houses the Python code for a delightful and easy-to-use GUI calculator, expertly crafted using the Tkinter library. It presents a visually appealing and intuitive interface that seamlessly basic mathematical operations.

Features

  • Simple design: Enjoy a user-friendly GUI that strikes a balance between aesthetics and ease of use.
  • Comprehensive functionality: Perform addition, subtraction, multiplication, division, exponentiation, and more with confidence.
  • Clear input and output: Easily enter calculations and view results in a well-formatted manner.
  • Error handling: Gracefully handle invalid input and potential calculation errors.

Prerequisites

  • Python 3.10 (I hope it would run on newer versions)
  • Tkinter library (usually included with Python installations)

Installation

  1. Clone or download the repository:

    git clone https://github.com/rmondal-official/GUI-Calculator.git
  2. If Tkinter is not installed, use pip to install it:

    pip install tkinter
  3. If you want to use ttkthemes

    pip install ttkthemes

Note: Using virtual environment is always recomemded

Running the Calculator

  1. Navigate to the project directory:

    cd GUI-Calculator
  2. Run the main Python script:

    python GUI_Calculator.py

This will launch the GUI calculator on your screen.

Usage

The calculator has a straightforward interface. Enter your calculations using:

  • Numerical buttons (0-9)
  • Arithmetic operators (+, -, *, /, **, //)
  • Parentheses for order of operations
  • Equal sign (=) to display the result
  • Clear button (C) to clear the current input

Customization

Feel free to experiment with the code in GUI_Calculator.py to personalize the look and feel of the calculator. However, exercise caution, as modifying core logic might affect functionality.

Contributions

I encourage you to contribute to this project! Share your ideas, improvements, improving GUI design or bug reports by opening an issue or pull request.

GitHub

About

Build your first GUI Calculator with tkinter in Python

Topics

Resources

License

Stars

Watchers

Forks

Languages