Tuesday, October 6, 2015
[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.
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.
Labels:
application,
release
Subscribe to:
Post Comments (Atom)
![[PyGObject] Calculatrice PyGtk Release, Available for Linux Platform [PyGObject] Calculatrice PyGtk Release, Available for Linux Platform](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg27WLFCckflCK_N6-Fxmv6CFWpNv5hp7UV-f5SpMF-qtHhOFabj5h_UonaTsvNwPR7G1EXpSwQmPKZucP0x1V6Mkdo_Hor0DibHZ-jbZ-pPFIOiUGy-SNcpze4sehh1azRi8nK-g8EKQ/s1600/calculator.png)
No comments:
Post a Comment