ANN: EasyGui update - simple GUI interface for Python programs

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")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top