Skip to content

Pro-Prompter/PyCalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Calculator

A simple calculator GUI application built with Tkinter in Python.

Description

This calculator application allows users to perform basic arithmetic calculations such as addition, subtraction, multiplication, and division. It also supports other functionalities like square root, percentage, and exponentiation. The application has a user-friendly interface with buttons for input and a display area to show the calculation results.

Features

  • Addition, subtraction, multiplication, and division
  • Exponentiation (^)
  • Square root (√)
  • Percentage (%)
  • Clear (C) button to clear the input field
  • Error handling for invalid inputs
  • Stylish buttons using ttk module

Usage

  1. Clone the repository or download the calculator.py file.

  2. Make sure you have Python installed on your system.

  3. Open a terminal or command prompt.

  4. Navigate to the directory containing the calculator.py file.

  5. Run the following command:

  6. The calculator application will open, and you can start performing calculations.

Dependencies

  • Python 3.x
  • Tkinter (usually comes pre-installed with Python)

Example

python calculator.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Sajawal Mirza (https://github.com/Pro-Prompter)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages