python GUIs comparison (want)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jiang.haiyun@gmail.com

    #1

    python GUIs comparison (want)

    Now i began to learn GUI programming. There are so many
    choices of GUI in the python world, wxPython, pyGTK, PyQT,
    Tkinter, .etc, it's difficult for a novice to decide, however.
    Can you draw a comparison among them on easy coding, pythonish design,
    beautiful and generous looking, powerful development toolkit, and
    sufficient documentation, .etc.
    It's helpful for a GUI beginner.
    Thank you.


    :)Sorry for my poor english.

  • John Henry

    #2
    Re: python GUIs comparison (want)


    jiang.haiyun@gm ail.com wrote:
    Now i began to learn GUI programming. There are so many
    choices of GUI in the python world, wxPython, pyGTK, PyQT,
    Tkinter, .etc, it's difficult for a novice to decide, however.
    Can you draw a comparison among them on easy coding, pythonish design,
    beautiful and generous looking, powerful development toolkit, and
    sufficient documentation, .etc.
    It's helpful for a GUI beginner.
    Thank you.
    >
    >
    :)Sorry for my poor english.
    I like Pythoncard. Simple. Get the job done fast.

    Comment

    • Cameron Walsh

      #3
      Re: python GUIs comparison (want)

      jiang.haiyun@gm ail.com wrote:
      Now i began to learn GUI programming. There are so many
      choices of GUI in the python world, wxPython, pyGTK, PyQT,
      Tkinter, .etc, it's difficult for a novice to decide, however.
      Can you draw a comparison among them on easy coding, pythonish design,
      beautiful and generous looking, powerful development toolkit, and
      sufficient documentation, .etc.
      It's helpful for a GUI beginner.
      Thank you.
      >
      >
      :)Sorry for my poor english.
      >
      I googled "python gui compare" a while back and got
      www.awaretek.com/toolkits.html as the first result.

      Every variation on the values I entered seemed to point me to wxPython,
      which I'm still using now. However, they seem to think that EasyGUI is
      the easiest to learn, but that it suffers on "Maturity, documentation,
      breadth of widget selection".

      All the best,

      Cameron.

      Comment

      • Paul Boddie

        #4
        Re: python GUIs comparison (want)

        Cameron Walsh wrote:
        >
        I googled "python gui compare" a while back and got
        www.awaretek.com/toolkits.html as the first result.
        See also the python.org Wiki for more information:


        http://wiki.python.org/moin/GuiProgramming (big list!)
        Every variation on the values I entered seemed to point me to wxPython,
        which I'm still using now. However, they seem to think that EasyGUI is
        the easiest to learn, but that it suffers on "Maturity, documentation,
        breadth of widget selection".
        The figures behind the scenes are quite enlightening for that
        particular page. If you (or community experiences) don't agree with the
        rankings (wxPython apparently even easier to learn than PythonCard and
        Tkinter, a bunch of Gtk-based toolkits having more or less "full" Linux
        scores) then you'll have some surprises, I'm sure. Nevertheless, it's
        an interesting concept.

        Paul

        Comment

        • Peter Decker

          #5
          Re: python GUIs comparison (want)

          On 23 Oct 2006 22:07:39 -0700, jiang.haiyun@gm ail.com
          <jiang.haiyun@g mail.comwrote:
          Now i began to learn GUI programming. There are so many
          choices of GUI in the python world, wxPython, pyGTK, PyQT,
          Tkinter, .etc, it's difficult for a novice to decide, however.
          Can you draw a comparison among them on easy coding, pythonish design,
          beautiful and generous looking, powerful development toolkit, and
          sufficient documentation, .etc.
          It's helpful for a GUI beginner.
          Thank you.
          I've used several, and I think that Dabo (http://dabodev.com) is the
          best choice. Dabo is an entire application framework, but you can just
          use the dabo.ui parts if that's all you need. Then when you are no
          longer a beginner and you want to develop more complex apps, you won't
          need to change tools.

          --

          # p.d.

          Comment

          • Kevin Walzer

            #6
            Re: python GUIs comparison (want)

            jiang.haiyun@gm ail.com wrote:
            Now i began to learn GUI programming. There are so many
            choices of GUI in the python world, wxPython, pyGTK, PyQT,
            Tkinter, .etc, it's difficult for a novice to decide, however.
            Can you draw a comparison among them on easy coding, pythonish design,
            beautiful and generous looking, powerful development toolkit, and
            sufficient documentation, .etc.
            It's helpful for a GUI beginner.
            Thank you.
            >
            >
            :)Sorry for my poor english.
            >
            Tkinter:
            Pro: Default GUI library for Python; stable; well-supported
            Con: Needs extension for complex/rich GUI's; core widgets are dated in
            look and feel; many modern extensions in Tcl/Tk have not made it into
            Tkinter or are not widely used (Tile, Tablelist)

            wxPython:
            Pro: Popular, actively developed, wraps native widgets, looks great on
            Windows, commercial-friendly license
            Con: Based on C++ toolkit; docs assume knowledge of C++; some think
            coding style is too much like C++; complex to build and deploy on Linux
            (wraps Gtk)

            PyQt:
            Pro: Powerful, cross-platform, sophisticated GUI's
            Con: Based on C++ toolkit; docs assume knowledge of C++; commercial
            deployment is expensive; free deployment must be GPL; smaller
            development and user community than wxPython

            PyGtk:
            Pro: Sophisticated GUI's, cross-platform (Linux and Win32); very popular
            on some platforms; active development community
            Con: Not native on OS X





            --
            Kevin Walzer
            Code by Kevin

            Comment

            • Christophe

              #7
              Re: python GUIs comparison (want)

              Kevin Walzer a écrit :
              jiang.haiyun@gm ail.com wrote:
              >Now i began to learn GUI programming. There are so many
              >choices of GUI in the python world, wxPython, pyGTK, PyQT,
              >Tkinter, .etc, it's difficult for a novice to decide, however.
              >Can you draw a comparison among them on easy coding, pythonish design,
              >beautiful and generous looking, powerful development toolkit, and
              >sufficient documentation, .etc.
              >It's helpful for a GUI beginner.
              >Thank you.
              >>
              >>
              >:)Sorry for my poor english.
              >>
              >
              Tkinter:
              Pro: Default GUI library for Python; stable; well-supported
              Con: Needs extension for complex/rich GUI's; core widgets are dated in
              look and feel; many modern extensions in Tcl/Tk have not made it into
              Tkinter or are not widely used (Tile, Tablelist)
              Also, the Tkinter API is far less elegant than the others.
              wxPython:
              Pro: Popular, actively developed, wraps native widgets, looks great on
              Windows, commercial-friendly license
              Con: Based on C++ toolkit; docs assume knowledge of C++; some think
              coding style is too much like C++; complex to build and deploy on Linux
              (wraps Gtk)
              See PyQt remarks. And I would add that the coding style is too much like
              MFC and Win32 as a con.
              PyQt:
              Pro: Powerful, cross-platform, sophisticated GUI's
              Con: Based on C++ toolkit; docs assume knowledge of C++; commercial
              deployment is expensive; free deployment must be GPL; smaller
              development and user community than wxPython
              Since when is "based on C++ toolkit" a con?
              PyGtk:
              Pro: Sophisticated GUI's, cross-platform (Linux and Win32); very popular
              on some platforms; active development community
              Con: Not native on OS X
              You forgot that it is rather buggy on Win32 ( in my experience )

              Comment

              • Kevin Walzer

                #8
                Re: python GUIs comparison (want)

                Christophe wrote:
                Since when is "based on C++ toolkit" a con?
                >
                If you don't know C++ (as is the case with me), then it's difficult to
                do a C++-to-Python translation in looking at code examples.

                --
                Kevin Walzer
                Code by Kevin

                Comment

                • Christophe

                  #9
                  Re: python GUIs comparison (want)

                  Kevin Walzer a écrit :
                  Christophe wrote:
                  >
                  >Since when is "based on C++ toolkit" a con?
                  >>
                  >
                  If you don't know C++ (as is the case with me), then it's difficult to
                  do a C++-to-Python translation in looking at code examples.
                  As if a toolkit based on C would be much easier.

                  In fact, I would even say that C++ -Python is much much easier than C
                  -Python for GUI toolkits.

                  Comment

                  • Fredrik Lundh

                    #10
                    Re: python GUIs comparison (want)

                    Christophe wrote:
                    Also, the Tkinter API is far less elegant than the others.
                    huh? create object, display object, create object, display object.
                    sure looks like plain old Python to me...

                    </F>

                    Comment

                    • shawn@milochik.com

                      #11
                      Re: python GUIs comparison (want)

                      Ron Stevens of the Python411 podcast(1) has some good info on these. He
                      did an entire podcast(2) comparing different Python GUI tools, and did
                      several others in greater detail, including specifically on wyPython and
                      Tkinter. You can also subscribe to the RSS feed(3). The main page has
                      titles for all of the podcasts and direct links to the mp3s.

                      Shawn



                      1. http://www.awaretek.com/python/
                      2. http://libsyn.com/media/awaretek/Pyt...UItoolkits.mp3
                      3. http://www.awaretek.com/python/index.xml


                      Comment

                      • Kevin Walzer

                        #12
                        Re: python GUIs comparison (want)

                        Christophe wrote:
                        Kevin Walzer a écrit :
                        >Christophe wrote:
                        >>
                        >>Since when is "based on C++ toolkit" a con?
                        >>>
                        >>
                        >If you don't know C++ (as is the case with me), then it's difficult to
                        >do a C++-to-Python translation in looking at code examples.
                        >
                        As if a toolkit based on C would be much easier.
                        >
                        In fact, I would even say that C++ -Python is much much easier than C
                        -Python for GUI toolkits.
                        Well, Tk isn't *based* on C (it's written in C, but it doesn't wrap a
                        lower-level GUI framework for C). Tk is my preferred toolkit. But then,
                        I'm a Tcl developer by background, and less experienced with Python.

                        For what it's worth, the reason I learned Tcl before Python is because I
                        wanted to learn a GUI package that was native/specific to the
                        programming language in question, and Tcl/Tk is the only instance of
                        this in scripting languages. With Python, as far as I know, every GUI
                        toolkit in question was developed for another language (Tcl, C/C++,
                        etc.), and is wrapped by Python. It makes learning GUI programming in
                        Python a daunting task for a newbie.

                        --
                        Kevin Walzer
                        Code by Kevin

                        Comment

                        • Peter Decker

                          #13
                          Re: python GUIs comparison (want)

                          On 10/24/06, Kevin Walzer <kw@kevin-walzer.comwrote :
                          wxPython:
                          Pro: Popular, actively developed, wraps native widgets, looks great on
                          Windows, commercial-friendly license
                          Con: Based on C++ toolkit; docs assume knowledge of C++; some think
                          coding style is too much like C++; complex to build and deploy on Linux
                          (wraps Gtk)
                          I agree with this assessment. I hated writing the code in wxPython,
                          since it was very ugly, with tons of getters/setters lots of constants
                          and ids WRITTEN_IN_ALL_ CAPS. Yuck.

                          That's why I think you and others are doing a grave disservice by
                          ignoring Dabo. With Dabo, you get the best-looking toolkit across
                          platforms (wxPython), but a clean, Pythonic API with none of the C++
                          crud. I've been a dozen times more productive since I switched to
                          doing my UI code in dabo.ui, and even better, I don't have to
                          constantly look up the names of the appropriate constants, etc. - the
                          API is that much more consistent.

                          --

                          # p.d.

                          Comment

                          • Eric_Dexter@msn.com

                            #14
                            Re: python GUIs comparison (want)

                            I have to say that py-gtk is a pain to install. You have copywrites
                            with the various parts of the library when you install all of it with
                            apple and the people that do the pill library. I am looking at
                            wxwindows and maybe vpython for graphics (If it will do what I want).
                            wx.grid is a pain thus far but once you get it seems to work realy
                            well. You load dabo and then load your program through dabo... That
                            was all I needed to know to disregard it.






                            Peter Decker wrote:
                            On 10/24/06, Kevin Walzer <kw@kevin-walzer.comwrote :
                            >
                            wxPython:
                            Pro: Popular, actively developed, wraps native widgets, looks great on
                            Windows, commercial-friendly license
                            Con: Based on C++ toolkit; docs assume knowledge of C++; some think
                            coding style is too much like C++; complex to build and deploy on Linux
                            (wraps Gtk)
                            >
                            I agree with this assessment. I hated writing the code in wxPython,
                            since it was very ugly, with tons of getters/setters lots of constants
                            and ids WRITTEN_IN_ALL_ CAPS. Yuck.
                            >
                            That's why I think you and others are doing a grave disservice by
                            ignoring Dabo. With Dabo, you get the best-looking toolkit across
                            platforms (wxPython), but a clean, Pythonic API with none of the C++
                            crud. I've been a dozen times more productive since I switched to
                            doing my UI code in dabo.ui, and even better, I don't have to
                            constantly look up the names of the appropriate constants, etc. - the
                            API is that much more consistent.
                            >
                            --
                            >
                            # p.d.

                            Comment

                            • Peter Decker

                              #15
                              Re: python GUIs comparison (want)

                              On 24 Oct 2006 16:38:28 -0700, Eric_Dexter@msn .com <Eric_Dexter@ms n.comwrote:
                              You load dabo and then load your program through dabo... That
                              was all I needed to know to disregard it.
                              Wow - inaccurate and proud of it!

                              Your loss.

                              --

                              # p.d.

                              Comment

                              Working...