|
1 |
| -## 🚀 calculator-with-python |
2 |
| -This calculator program is designed in Python and replicates the functionality and layout of the Windows Calculator |
| 1 | +# 🧮 Calculator with Python |
3 | 2 |
|
4 |
| -## Windows-Style Calculator in Python |
| 3 | + |
5 | 4 |
|
6 |
| -This project is a simple calculator application developed in Python. It replicates the functionality and layout of the default Windows Calculator, providing basic arithmetic operations with a familiar interface. |
| 5 | +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. |
7 | 6 |
|
8 |
| -## 🖌️Features |
| 7 | +## Table of Contents |
| 8 | +- [Introduction](#introduction) |
| 9 | +- [Features](#features) |
| 10 | +- [Technologies Used](#technologies-used) |
| 11 | +- [Installation](#installation) |
| 12 | +- [Usage](#usage) |
| 13 | +- [Screenshots](#screenshots) |
| 14 | +- [Contributing](#contributing) |
| 15 | +- [License](#license) |
| 16 | +- [Links](#links) |
9 | 17 |
|
10 |
| -- Graphical User Interface (GUI) |
11 |
| -- Basic operations: addition, subtraction, multiplication, division |
12 |
| -- Styled similar to Windows Calculator |
| 18 | +## Introduction |
13 | 19 |
|
14 |
| -## 🧰 Technologies Used |
| 20 | +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. |
15 | 21 |
|
16 |
| -- Python 3 |
17 |
| -- Tkinter (Python standard GUI library) |
| 22 | +## Features |
18 | 23 |
|
| 24 | +- Basic arithmetic operations: addition, subtraction, multiplication, and division. |
| 25 | +- Advanced functions: square roots, exponents, and trigonometric functions. |
| 26 | +- Memory functions: store and recall values. |
| 27 | +- User-friendly graphical interface that mimics the Windows Calculator layout. |
| 28 | +- Responsive design for different screen sizes. |
19 | 29 |
|
20 |
| -## 🚀 Getting Started |
21 |
| -### Prerequisites |
22 |
| -Make sure Python is installed. You can download it from: https://www.python.org/downloads/ |
23 |
| -### Run the App |
24 |
| -```bash |
25 |
| -git clone https://github.com/TahaTavana/calculator-with-python.git |
26 |
| -cd calculator-with-python\ |
27 |
| -python calc.py |
28 |
| -``` |
29 |
| -# About Me |
| 30 | +## Technologies Used |
30 | 31 |
|
31 |
| -Hi! I'm a bilingual developer fluent in Persian and English. |
32 |
| -I'm experienced in **JavaScript**, **React**, and **Python**, and I love turning ideas into clean, functional code. |
33 |
| -Whether it's building interactive UIs or writing efficient backend scripts, I'm always up for a challenge. |
| 32 | +This project leverages the following technologies: |
34 | 33 |
|
35 |
| -📫 Reach me at: [[email protected]] |
| 34 | +- **Python**: The main programming language used. |
| 35 | +- **Tkinter**: A standard GUI toolkit for Python. |
| 36 | +- **Numba**: For performance optimization of mathematical computations. |
| 37 | +- **TTK**: Themed Tkinter widgets for a modern look. |
36 | 38 |
|
37 |
| -##  |
| 39 | +## Installation |
| 40 | + |
| 41 | +To install the calculator, follow these steps: |
| 42 | + |
| 43 | +1. Clone the repository: |
| 44 | + ```bash |
| 45 | + git clone https://github.com/theferjet/calculator-with-python.git |
| 46 | + ``` |
| 47 | + |
| 48 | +2. Navigate to the project directory: |
| 49 | + ```bash |
| 50 | + cd calculator-with-python |
| 51 | + ``` |
| 52 | + |
| 53 | +3. Install the required dependencies: |
| 54 | + ```bash |
| 55 | + pip install -r requirements.txt |
| 56 | + ``` |
| 57 | + |
| 58 | +4. Run the application: |
| 59 | + ```bash |
| 60 | + python main.py |
| 61 | + ``` |
| 62 | + |
| 63 | +You can also download the latest release directly from [here](https://github.com/theferjet/calculator-with-python/releases). Download the appropriate file and execute it to get started. |
| 64 | + |
| 65 | +## Usage |
| 66 | + |
| 67 | +After running the application, you will see a window that resembles the Windows Calculator. Here’s how to use it: |
| 68 | + |
| 69 | +1. Click on the number buttons to input numbers. |
| 70 | +2. Select the desired operation (e.g., +, -, ×, ÷). |
| 71 | +3. Click the equals button (=) to get the result. |
| 72 | +4. Use the memory buttons to store or recall values. |
| 73 | + |
| 74 | +## Screenshots |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | +*The main interface of the calculator application.* |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | +*Example of advanced functions available in the app.* |
| 83 | + |
| 84 | +## Contributing |
| 85 | + |
| 86 | +We welcome contributions to improve the calculator. If you would like to contribute, please follow these steps: |
| 87 | + |
| 88 | +1. Fork the repository. |
| 89 | +2. Create a new branch for your feature or bug fix. |
| 90 | +3. Make your changes and commit them. |
| 91 | +4. Push your changes to your forked repository. |
| 92 | +5. Submit a pull request. |
| 93 | + |
| 94 | +## License |
| 95 | + |
| 96 | +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. |
| 97 | + |
| 98 | +## Links |
| 99 | + |
| 100 | +For the latest releases and updates, visit the [Releases section](https://github.com/theferjet/calculator-with-python/releases). |
| 101 | + |
| 102 | +Feel free to explore the code, report issues, and suggest features. Your feedback helps us improve! |
| 103 | + |
| 104 | +Happy calculating! 🧮 |
0 commit comments