[PyGObject] Calculatrice PyGtk Release, Available for Linux Platform

[PyGObject] Calculatrice PyGtk Release, Available for Linux Platform

[PyGObject] Calculatrice PyGtk Release, Available for Linux Platform

Calculatrice PyGtk is a basic Calculator developped with Python 3 and PyGObject.

The principle of this calculator is simple:
  • The user enters the number of the equation
  • The display is immediate numbers
  • The dot "." is replaced in the display by a comma ",", but is used as a point in the internal calculations of the application
  • The idea of the calculation is based on the eval function, which is a Python 3.xx own function, which takes the text displayed in the Gtk.Entry (called "input" in our application) and calculated.
  • If an error occurs during input, nothing happens until the correction of the input syntax.
Update & Fix 10.27.2014:
     Adding icons on the buttons: "Close", "Clear all" and "delete the last digit"
     Adding parentheses "(" and ")"
     Adding the square root method "calcul_racine"
     The button "=" now occupies two columns

Update & Fix 28/10/2014:
     Correction method "calcul_racine" and code optimization through the arshajii stackoverflow.com forum

Update & Fix 29.10.2014:
     Addition of trigonometric functions
     Code optimization
     Create a folder for the logo and icon

Update
& Fix 30/10/2014:
     Add a sub-menu to select the make and size of the Gtk.Entry


You can download the Calculator PyGtk source code on Github  or Google Drive

Our hope tutorial entitled "[PyGObject] Calculatrice PyGtk Release, Available for Linux Platform" can be useful for visitors.