ecookbook restoring the folders for testing...
This commit is contained in:
parent
0574702876
commit
9f40a47d30
109 changed files with 0 additions and 0 deletions
24
docs/eCookbook/examples-for-reddit-posts/calculator.md
Normal file
24
docs/eCookbook/examples-for-reddit-posts/calculator.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
**The Classic Simple Calculator **
|
||||
|
||||
This program is the beginning of a typical calculator. It was done to see what creating one in PySimpleGUI versus tkinter looked like.
|
||||
|
||||
A full-blown calculator was not completed. This was an exercise meant to duplicate the look and operation of the GUI, not the entire program. The things that are operational are:
|
||||
|
||||
* Numeric entry via buttons
|
||||
* Numeric entry via keyboard
|
||||
* Clear display using CE button
|
||||
|
||||
All of the other buttons are generating events, the logic hasn't been added to do somethiuung with the button click.
|
||||
|
||||
The goal was to duplicate this GUI
|
||||
|
||||

|
||||
|
||||
On windows the PySimpleGUI code produced this program
|
||||
|
||||

|
||||
|
||||
|
||||
<iframe src='https://trinket.io/embed/pygame/325ee1b208?start=result' width='100%' height='600' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue