S
Stephen Ferg
I've just released easygui version 0.66
It is available at http://www.ferg.org/easygui
This version adds a few useful features:
Multchoicebox is like choicebox (i.e. a listbox), but it allows the
user to select multiple entries. Results are returned in a list.
Password box is like enterbox, except that the data-entry field is
masked with asterisks.
Multpassword box is like multenterbox, except that the last
data-entry field is masked with asterisks.
The cancel (X) box in dialog titlebars has been disabled. This
makes it clearer what the user chose, since a user MUST choose one
of the programmed choices.
For those not familiar with EasyGui, here is an excerpt from the
documentation:
******************************
Experienced Pythonistas need support for quick and dirty GUI features.
New Python programmers need GUI capabilities that don't require any
knowledge of tkinter, frames, widgets, callbacks or lambda. This is what
EasyGui provides. Using EasyGui, all GUI interactions are invoked by
simple function calls.
EasyGui is different from other GUIs in that it is NOT event-driven. It
allows you to program in a traditional linear fashion, and to put up
dialogs for simple input and output when you need to. If you are new to
the event-driven paradigm for GUIs, EasyGui will allow you to be
productive with very basic tasks immediately. Later, if you wish to make
the transition to an event-driven GUI paradigm, you can move to an
event-driven style with a more powerful GUI package such as anygui,
PythonCard, Tkinter, wxPython, etc. EasyGui is there just to do very
basic stuff. More elaborate stuff should be done with more powerful
tools.
Here is a code snippet using EasyGui.
msg ="What is your favorite flavor?"
title = "Ice Cream Survey"
choices = ["Vanilla", "Chocolate", "Strawberry", "Rocky Road"]
choice = choicebox(msg, title, choices)
# note that we convert choice to string, in case
# the user cancelled the choice, and we got None.
msgbox("You chose: " + str(choice), "Survey Result")
It is available at http://www.ferg.org/easygui
This version adds a few useful features:
Multchoicebox is like choicebox (i.e. a listbox), but it allows the
user to select multiple entries. Results are returned in a list.
Password box is like enterbox, except that the data-entry field is
masked with asterisks.
Multpassword box is like multenterbox, except that the last
data-entry field is masked with asterisks.
The cancel (X) box in dialog titlebars has been disabled. This
makes it clearer what the user chose, since a user MUST choose one
of the programmed choices.
For those not familiar with EasyGui, here is an excerpt from the
documentation:
******************************
Experienced Pythonistas need support for quick and dirty GUI features.
New Python programmers need GUI capabilities that don't require any
knowledge of tkinter, frames, widgets, callbacks or lambda. This is what
EasyGui provides. Using EasyGui, all GUI interactions are invoked by
simple function calls.
EasyGui is different from other GUIs in that it is NOT event-driven. It
allows you to program in a traditional linear fashion, and to put up
dialogs for simple input and output when you need to. If you are new to
the event-driven paradigm for GUIs, EasyGui will allow you to be
productive with very basic tasks immediately. Later, if you wish to make
the transition to an event-driven GUI paradigm, you can move to an
event-driven style with a more powerful GUI package such as anygui,
PythonCard, Tkinter, wxPython, etc. EasyGui is there just to do very
basic stuff. More elaborate stuff should be done with more powerful
tools.
Here is a code snippet using EasyGui.
msg ="What is your favorite flavor?"
title = "Ice Cream Survey"
choices = ["Vanilla", "Chocolate", "Strawberry", "Rocky Road"]
choice = choicebox(msg, title, choices)
# note that we convert choice to string, in case
# the user cancelled the choice, and we got None.
msgbox("You chose: " + str(choice), "Survey Result")