Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/medss19/simple-calculator-application
Basic calculator application using python
https://github.com/medss19/simple-calculator-application
Last synced: 22 days ago
JSON representation
Basic calculator application using python
- Host: GitHub
- URL: https://github.com/medss19/simple-calculator-application
- Owner: medss19
- Created: 2024-06-05T09:24:28.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T06:28:02.000Z (6 months ago)
- Last Synced: 2024-07-20T07:39:19.135Z (6 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple-calculator-application
Basic calculator application using pythonhttps://github.com/user-attachments/assets/05186c84-7a27-4ff5-91aa-02af4463392a
https://www.linkedin.com/posts/medha-agarwal-01b33725a_internship-pythonprogramming-theblackpearls-activity-7214899900390547459-4Fca?utm_source=share&utm_medium=member_desktop
𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
𝗕𝗮𝘀𝗶𝗰 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝗮𝗹𝗶𝘁𝘆:
- Created a Python script to perform basic arithmetic operations (addition, subtraction, multiplication, division).
- Implemented a graphical user interface (GUI) using PyQt.
- Ensured error handling for invalid inputs and division by zero.
𝗕𝗼𝗻𝘂𝘀 𝗙𝗲𝗮𝘁𝘂𝗿𝗲𝘀:
- Included additional functions such as square root, exponentiation, and trigonometric operations (sin, cos, tan).𝗜𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻 𝗛𝗶𝗴𝗵𝗹𝗶𝗴𝗵𝘁𝘀:
𝗚𝗨𝗜 𝘄𝗶𝘁𝗵 𝗣𝘆𝗤𝘁:
- Designed a user-friendly interface with a sleek, modern look using PyQt.
- Added buttons for digits, operators, and functions, styled with CSS for better visual appeal.𝗘𝗿𝗿𝗼𝗿 𝗛𝗮𝗻𝗱𝗹𝗶𝗻𝗴:
- Implemented robust error handling to manage invalid inputs and prevent crashes.
- Provided clear error messages for division by zero and other invalid operations.𝗖𝗵𝗮𝗹𝗹𝗲𝗻𝗴𝗲𝘀 𝗙𝗮𝗰𝗲𝗱:
- Integrating PyQt for the GUI and ensuring cross-platform compatibility.
- Handling complex mathematical expressions and ensuring accurate results. (I still wasn't able to integrate the functionality of exponent (e))
- Styling the application to make it visually appealing and user-friendly.
- Managing edge cases such as division by zero and invalid inputs effectively.