This is a basic PyQt based scientific calculator
-
You need to install pyqt4 dependency which can be installed as
sudo apt-get install python-qt4. -
Run
logic.pyfor running the calculator.This contains the basic evaluation code and the logic behind the calculator. -
calculator.uiis the UI design used which can be created by PyQt Designer GUI. For UI modification you can install PyQt designer which can be installed as given here . -
calculator.pyis extract code of the UI using PyQt. -
Any
input.uifile can be converted tooutput.pybypyuic4 input.ui -o output.pyfor pyqt4 dependencies. -
You can also go through these set of videos for understanding the framework and functioning of qt designer. Click here.