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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Leo

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

    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




  • Alex Martelli

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

    Leo wrote:
    [color=blue]
    > 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.[/color]

    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

    Comment

    • Simon Foster

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

      On Thu, 30 Oct 2003 10:56:31 GMT, Alex Martelli <aleax@aleax.it >
      wrote:
      [color=blue]
      >Leo wrote:
      >[color=green]
      >> 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.[/color]
      >
      >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[/color]

      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

      Comment

      • Mark Roseman

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

        > I would have to say that although Tkinter is easy to use, the look and[color=blue]
        > 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.[/color]


        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

        Comment

        • email9898989@yahoo.com

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

          "Leo" <leo.broska@NOS PAM.isys.com.au > wrote in message news:<bnq1is$l7 p$1@otis.netspa ce.net.au>...[color=blue]
          > 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.[/color]


          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

          Comment

          • John Hall

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

            On 30 Oct 2003 09:05:14 -0800, email9898989@ya hoo.com
            (email9898989@y ahoo.com) wrote:
            [color=blue]
            >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[/color]


            And PythonCard:-

            python, programming, hypercard, gui, development


            --
            John W Hall <wweexxsseessss aa@telus.net>
            Cochrane, Alberta, Canada.
            "Helping People Prosper in the Information Age"

            Comment

            • Leo

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

              well thanks for the answers. i might start with wxPython. is that a layer
              about qt or what?

              cheers, leo

              "Simon Foster" <simon@uggs.dem on.co.uk> wrote in message
              news:3fa13dd3.2 565248@news.dsl .pipex.com...[color=blue]
              > On Thu, 30 Oct 2003 10:56:31 GMT, Alex Martelli <aleax@aleax.it >
              > wrote:
              >[color=green]
              > >Leo wrote:
              > >[color=darkred]
              > >> for somebody who wants tostart small/medium GUI apps with python:
              > >>
              > >> what's the best toolkit: tkinter, wxPython or what? stability, ease of[/color][/color][/color]
              use[color=blue][color=green][color=darkred]
              > >> and portability between mac and windows are the main criteria.[/color]
              > >
              > >Portability is fine with all the main xplatform toolkits afaik, so NP[/color][/color]
              there.[color=blue][color=green]
              > >
              > >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[/color]
              >
              > 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[/color]


              Comment

              • Simon Foster

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

                On Thu, 30 Oct 2003 11:50:31 -0500, Mark Roseman
                <mark@markrosem an.com> wrote:
                [color=blue]
                >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[/color]

                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

                Comment

                • Alex Martelli

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

                  Leo wrote:
                  [color=blue]
                  > well thanks for the answers. i might start with wxPython. is that a layer
                  > about qt or what?[/color]

                  "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

                  Comment

                  • Tim Lavoie

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

                    >>>>> "Frithiof" == Frithiof Andreas Jensen <frithiof.jense n@removethis.te d.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:


                    --
                    Outside of a dog, a book is a man's best friend. Inside a dog it's too
                    dark to read.
                    -- Groucho Marx

                    Comment

                    • Eric Brunel

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

                      Tim Lavoie wrote:[color=blue][color=green][color=darkred]
                      >>>>>>"Frithiof " == Frithiof Andreas Jensen <frithiof.jense n@removethis.te d.ericsson.dk> writes:
                      >>>>>[/color][/color]
                      >
                      > 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/[/color]

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

                      Another pointer:

                      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

                      Comment

                      • Frithiof Andreas Jensen

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


                        "Tim Lavoie" <tool_man@spamc op.net> wrote in message
                        news:87he1j52yc .fsf@theasylum. dyndns.org...[color=blue]
                        > Perhaps this might help:
                        > http://vtcl.sourceforge.net/[/color]

                        Yeah it might, Thanks!

                        PS;

                        Q: Why does Mike Tyson cry while making love?

                        A: It's the pepper spray!


                        Comment

                        Working...