472,121 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,121 software developers and data experts.

best GUI toolkit for python: tkinter, wxPython or what?

Leo
hi there

for somebody who wants tostart small/medium GUI apps with python:

what's the best toolkit: tkinter, wxPython or what? stability, ease of use
and portability between mac and windows are the main criteria.

thanks, leo


Jul 18 '05 #1
11 23417
Leo wrote:
for somebody who wants tostart small/medium GUI apps with python:

what's the best toolkit: tkinter, wxPython or what? stability, ease of use
and portability between mac and windows are the main criteria.


Portability is fine with all the main xplatform toolkits afaik, so NP there.

In terms of ease of use and stability it's hard to beat tkinter, which
is barely changed since YEARS (can't get much stabler than that) -- and
quite easy for elementary tasks, too.

If you'd asked for looks, speed, screenpainters & suchlike tools, or
functional richness (particularly in terms of variety of widgets), the
answer might be different (and Qt, wx or GTK might then be preferred).
Alex

Jul 18 '05 #2
On Thu, 30 Oct 2003 10:56:31 GMT, Alex Martelli <al***@aleax.it>
wrote:
Leo wrote:
for somebody who wants tostart small/medium GUI apps with python:

what's the best toolkit: tkinter, wxPython or what? stability, ease of use
and portability between mac and windows are the main criteria.


Portability is fine with all the main xplatform toolkits afaik, so NP there.

In terms of ease of use and stability it's hard to beat tkinter, which
is barely changed since YEARS (can't get much stabler than that) -- and
quite easy for elementary tasks, too.

If you'd asked for looks, speed, screenpainters & suchlike tools, or
functional richness (particularly in terms of variety of widgets), the
answer might be different (and Qt, wx or GTK might then be preferred).
Alex


I would have to say that although Tkinter is easy to use, the look and
feel of the finished product is a little agricultural, particularly on
the Windows platform. If you can stretch a little, then I would go
for wxPython which has a richer set of widgets and looks much more
professional. I have written a couple of apps with Tkinter and moved
on to wx. I have been much more satisfied with the final appearance
of the wx apps.
--
Simon Foster
Somewhere in the West of England
Jul 18 '05 #3
> I would have to say that although Tkinter is easy to use, the look and
feel of the finished product is a little agricultural, particularly on
the Windows platform. If you can stretch a little, then I would go
for wxPython which has a richer set of widgets and looks much more
professional. I have written a couple of apps with Tkinter and moved
on to wx. I have been much more satisfied with the final appearance
of the wx apps.

Simon (and others),

If you have particular examples of where the look&feel of Tkinter
was causing you problems, it would be great to hear about them.
As you may know, there is an effort underway to modernize Tk (which
underlies Tkinter), both in terms of updating the appearance of
the existing widgets, and adding additional widgets.

More info here: http://tcl.projectforum.com/tk/

Mark
Jul 18 '05 #4
"Leo" <le********@NOSPAM.isys.com.au> wrote in message news:<bn**********@otis.netspace.net.au>...
for somebody who wants tostart small/medium GUI apps with python:

what's the best toolkit: tkinter, wxPython or what? stability, ease of use
and portability between mac and windows are the main criteria.

wxPython is not the easiest to use, but it is one of the most powerful
GUI options. Run the demo.py file in the wxPython demo folder to see.

If you are using Linux though, you might also try PyGTK.

Some people have started projects to make easier-to-use interfaces to
wxPython:
http://wiki.wxpython.org/index.cgi/Wax - barely started
http://www.anygui.org/ - barely started, not updated in a long time
Jul 18 '05 #5
On 30 Oct 2003 09:05:14 -0800, em**********@yahoo.com
(em**********@yahoo.com) wrote:
Some people have started projects to make easier-to-use interfaces to
wxPython:
http://wiki.wxpython.org/index.cgi/Wax - barely started
http://www.anygui.org/ - barely started, not updated in a long time

And PythonCard:-

http://pythoncard.sourceforge.net/

--
John W Hall <ww**************@telus.net>
Cochrane, Alberta, Canada.
"Helping People Prosper in the Information Age"
Jul 18 '05 #6
Leo
well thanks for the answers. i might start with wxPython. is that a layer
about qt or what?

cheers, leo

"Simon Foster" <si***@uggs.demon.co.uk> wrote in message
news:3f**************@news.dsl.pipex.com...
On Thu, 30 Oct 2003 10:56:31 GMT, Alex Martelli <al***@aleax.it>
wrote:
Leo wrote:
for somebody who wants tostart small/medium GUI apps with python:

what's the best toolkit: tkinter, wxPython or what? stability, ease of use and portability between mac and windows are the main criteria.


Portability is fine with all the main xplatform toolkits afaik, so NP there.
In terms of ease of use and stability it's hard to beat tkinter, which
is barely changed since YEARS (can't get much stabler than that) -- and
quite easy for elementary tasks, too.

If you'd asked for looks, speed, screenpainters & suchlike tools, or
functional richness (particularly in terms of variety of widgets), the
answer might be different (and Qt, wx or GTK might then be preferred).
Alex


I would have to say that although Tkinter is easy to use, the look and
feel of the finished product is a little agricultural, particularly on
the Windows platform. If you can stretch a little, then I would go
for wxPython which has a richer set of widgets and looks much more
professional. I have written a couple of apps with Tkinter and moved
on to wx. I have been much more satisfied with the final appearance
of the wx apps.
--
Simon Foster
Somewhere in the West of England

Jul 18 '05 #7
On Thu, 30 Oct 2003 11:50:31 -0500, Mark Roseman
<ma**@markroseman.com> wrote:
Simon (and others),

If you have particular examples of where the look&feel of Tkinter
was causing you problems, it would be great to hear about them.
As you may know, there is an effort underway to modernize Tk (which
underlies Tkinter), both in terms of updating the appearance of
the existing widgets, and adding additional widgets.

More info here: http://tcl.projectforum.com/tk/

Mark


Not problems, it's just that wx is more shiny :-) I'm not intending
this comment as a criticism of Tk, but wx is rather than nice. I've
used them both, and they both have their merits.
--
Simon Foster
Somewhere in the West of England
Jul 18 '05 #8
Leo wrote:
well thanks for the answers. i might start with wxPython. is that a layer
about qt or what?


"or what". wxPython interfaces to wxWindows which implements widgets
as layers above some kind of "native" widgets (e.g. GTK on Linux). Qt
(which you can use from Python via PyQt) is less layered (makes its own
widgets) with all the attendants pro's and con's. Personally I prefer
Qt in terms of looks and power (and Tkinter if your original specs had
been true -- you did say that stability, ease and portability were the
main criteria!), but wx is quite popular too (for example because you'll
never need to pay for it, while for Qt you may need a license if you want
to make/distribute non-GPL apps or Windows apps).
Alex

Jul 18 '05 #9
>>>>> "Frithiof" == Frithiof Andreas Jensen <fr*************@removethis.ted.ericsson.dk> writes:

Frithiof> Actually, *I* didn't have any trouble with Tkinter
Frithiof> look&feel - The reason I do not use it is beacuse there
Frithiof> are no - well none that I could find anyway - tools
Frithiof> available to design Tkinter GUI's with!

Perhaps this might help:
http://vtcl.sourceforge.net/

--
Outside of a dog, a book is a man's best friend. Inside a dog it's too
dark to read.
-- Groucho Marx
Jul 18 '05 #10
Tim Lavoie wrote:
>>"Frithiof" == Frithiof Andreas Jensen <fr*************@removethis.ted.ericsson.dk> writes:
>


Frithiof> Actually, *I* didn't have any trouble with Tkinter
Frithiof> look&feel - The reason I do not use it is beacuse there
Frithiof> are no - well none that I could find anyway - tools
Frithiof> available to design Tkinter GUI's with!

Perhaps this might help:
http://vtcl.sourceforge.net/


Does it generate Python/Tkinter code? AFAICT, at least from the web page, it
doesn't...

Another pointer:
http://starship.python.net/crew/mike...x/Spectix.html
SpecTix does generate code for Python/Tkinter, even if it's still a bit
experimental.

HTH
--
- Eric Brunel <eric dot brunel at pragmadev dot com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com

Jul 18 '05 #11

"Tim Lavoie" <to******@spamcop.net> wrote in message
news:87************@theasylum.dyndns.org...
Perhaps this might help:
http://vtcl.sourceforge.net/


Yeah it might, Thanks!

PS;

Q: Why does Mike Tyson cry while making love?

A: It's the pepper spray!
Jul 18 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Srinath Avadhanula | last post: by
4 posts views Thread by Logan | last post: by
53 posts views Thread by Paul Rubin | last post: by
26 posts views Thread by Kevin Walzer | last post: by
24 posts views Thread by invitro81 | last post: by
161 posts views Thread by Dan Lenski | last post: by
1 post views Thread by Joe Strout | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.