Write a GUI for a python script?

peter.mosley at talk21.com peter.mosley at talk21.com
Fri Mar 3 04:16:23 EST 2006


Hi

I, too, am a python newbie and have wrestled with GUI programming.  I
think I am winning, but its been a struggle.

>From what I have gleaned, there are three and a half options.  The half
is easygui - see http://www.ferg.org/easygui - which allows you to
place pop up dialogues in procedural code.  Apart from that there's
Tkinter, PyGtk and wxPython.  I never tried wxPython as it wasn't
installed on my system.  I struggled with PyGtk (http://www.pygtk.org/)
and eventually gave up - somehow I could never get to work any code
which wasn't an exact copy of the tutorial.  Which leaves Tkinter, and
here, with the help of Frederik Lundh's tutorial and manual
(http://www.pythonware.com/library/tkinter/introduction/) , I have been
able to get results.  Not perfect - if you search you'll find a number
of my posts on this newsgroup when I was stuck, and the manual is
incomplete (why - given that Tkinter is the de facto standard?). But
for me at least Tkinter provided a way forwards.

Good Luck

Peter




More information about the Python-list mailing list