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.
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.
- 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.
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.
To install the calculator, follow these steps:
-
Clone the repository:
git clone https://github.com/theferjet/calculator-with-python.git
-
Navigate to the project directory:
cd calculator-with-python
-
Install the required dependencies:
pip install -r requirements.txt
-
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.
After running the application, you will see a window that resembles the Windows Calculator. Here’s how to use it:
- Click on the number buttons to input numbers.
- Select the desired operation (e.g., +, -, ×, ÷).
- Click the equals button (=) to get the result.
- Use the memory buttons to store or recall values.
The main interface of the calculator application.
Example of advanced functions available in the app.
We welcome contributions to improve the calculator. If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
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! 🧮