Skip to content

This calculator program is designed in Python and replicates the functionality and layout of the Windows Calculator

Notifications You must be signed in to change notification settings

theferjet/calculator-with-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

🧮 Calculator with Python

Calculator

Welcome to the Calculator with Python repository! This project replicates the functionality and layout of the Windows Calculator using Python. It serves as a great tool for both learning and practical use.

Table of Contents

Introduction

This calculator application provides a user-friendly interface for performing basic and advanced mathematical operations. Built with Python, it utilizes the Tkinter library for its graphical user interface. Whether you need to perform simple arithmetic or complex calculations, this app has you covered.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, and division.
  • Advanced functions: square roots, exponents, and trigonometric functions.
  • Memory functions: store and recall values.
  • User-friendly graphical interface that mimics the Windows Calculator layout.
  • Responsive design for different screen sizes.

Technologies Used

This project leverages the following technologies:

  • Python: The main programming language used.
  • Tkinter: A standard GUI toolkit for Python.
  • Numba: For performance optimization of mathematical computations.
  • TTK: Themed Tkinter widgets for a modern look.

Installation

To install the calculator, follow these steps:

  1. Clone the repository:

    git clone https://github.com/theferjet/calculator-with-python.git
  2. Navigate to the project directory:

    cd calculator-with-python
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Run the application:

    python main.py

You can also download the latest release directly from here. Download the appropriate file and execute it to get started.

Usage

After running the application, you will see a window that resembles the Windows Calculator. Here’s how to use it:

  1. Click on the number buttons to input numbers.
  2. Select the desired operation (e.g., +, -, ×, ÷).
  3. Click the equals button (=) to get the result.
  4. Use the memory buttons to store or recall values.

Screenshots

Calculator Interface

The main interface of the calculator application.

Advanced Functions

Example of advanced functions available in the app.

Contributing

We welcome contributions to improve the calculator. If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request.

License

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

Links

For the latest releases and updates, visit the Releases section.

Feel free to explore the code, report issues, and suggest features. Your feedback helps us improve!

Happy calculating! 🧮