Skip to content

smmaks004/Simple-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

About project

This project is a simple calculator implemented using the PySide6 library. It supports basic arithmetic, number square, square root, inverse number, and keyboard operation.

This project is my first small Python project.

Functionality

  • Basic arithmetic operations: addition, subtraction, multiplication, division

  • Additional operations: square, square root, inverse number (1/x)

  • Working with the keyboard (entering numbers and operations)

  • Clear, input and last character removal buttons

Requirements

  • PySide6
  • keyboard

Package/library installation

pip install PySide6
pip install keyboard

Code structure

Calculator - main class that creates a GUI and processes input

setup_key_bindings - setting up hotkeys for interacting with the calculator

on_button_clicked - Processing of button presses

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages