Installation and Overview
Easygui is by far the easiest GUI (Graphical user interface)
It is easy to use because it doesn't refresh objects within the same canvas but creates a new screen.
To use it inside Portable Python you need to download the zipped up file at the bottom of the page.
Extract the files and then copy the easygui.py file into \App\Lib\site-packages
Easygui is not being actively looked after/developed but I have found many great features for Python
novices to use in Python 3.xx
Importing the Library
So you could provide the text of an adventure in the top and then have the
button saying continue.
Yes No Box
When the user selects Yes the ynbox returns a 1
When the user selects a No the ynbox returns a 0
You can use this in an if else selection to change the route of the programme.
with Bye above the OK button.
You can also include other options
The boolbox outputs either 1 if yes is selected or 0 if no is selected.
Vote is printed.
The button box allows you to set up multiple buttons. Only one can be chosen.
So in this example if Second is chosen then the user is informed that their choice was correct
Continue or Cancel Box
The ccbox returns a 1 if continue or the x are selected and a 0 if cancel is selected.