Re: What is the best Python GUI API?

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

    Re: What is the best Python GUI API?

    Abah Joseph wrote:
    What is the best Python GUI API? I am planning to start my first GUI
    application and I need something easy and cross platform. Qt
    applications look beautiful but I hate the license. What do you advice?
    I agree about the Qt-license,
    and I'm now a happy wxPython user.

    cheers,
    Stef
    ------------------------------------------------------------------------
    >
    --

    >
  • James Harris

    #2
    Re: What is the best Python GUI API?

    On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
    Abah Joseph wrote:
    What is the best Python GUI API? I am planning to start my first GUI
    application and I need something easy and cross platform. Qt
    applications look beautiful but I hate the license. What do you advice?
    >
    I agree about the Qt-license,
    and I'm now a happy wxPython user.
    I too have had good results with wxwidgets when developing a GUI. The
    cross-platform native look and feel was a major benefit from my point
    of view allowing screens to "look native" under different OSs with no
    code changes.

    --
    James

    Comment

    • rm

      #3
      Re: What is the best Python GUI API?

      On Nov 13, 2:23 pm, James Harris <james.harri... @googlemail.com >
      wrote:
      On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
      >
      Abah Joseph wrote:
       What is the best Python GUI API? I am planning to start my first GUI
      application and I need something easy and cross platform. Qt
      applications look beautiful but I hate the license. What do you advice?
      >
      I agree about the Qt-license,
      and I'm now a happy wxPython user.
      >
      I too have had good results with wxwidgets when developing a GUI. The
      cross-platform native look and feel was a major benefit from my point
      of view allowing screens to "look native" under different OSs with no
      code changes.
      >
      --
      James
      Not so good if your native Linux look is KDE. ;) I also hate the fact
      that the GTK File Save/Open dialog box does not allow file/folder
      renames. On Windows, however, wxPython is great. I guess it depends
      on how big your application is and what is the target audience/
      clientele.

      Comment

      • Stef Mientki

        #4
        Re: What is the best Python GUI API?

        rm wrote:
        On Nov 13, 2:23 pm, James Harris <james.harri... @googlemail.com >
        wrote:
        >
        >On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
        >>
        >>
        >>Abah Joseph wrote:
        >>>
        >>> What is the best Python GUI API? I am planning to start my first GUI
        >>>applicatio n and I need something easy and cross platform. Qt
        >>>applicatio ns look beautiful but I hate the license. What do you advice?
        >>>>
        >>I agree about the Qt-license,
        >>and I'm now a happy wxPython user.
        >>>
        >I too have had good results with wxwidgets when developing a GUI. The
        >cross-platform native look and feel was a major benefit from my point
        >of view allowing screens to "look native" under different OSs with no
        >code changes.
        >>
        >--
        >James
        >>
        >
        Not so good if your native Linux look is KDE. ;) I also hate the fact
        that the GTK File Save/Open dialog box does not allow file/folder
        renames. On Windows, however, wxPython is great. I guess it depends
        on how big your application is and what is the target audience/
        clientele.
        >
        Ok you only guess, but ...
        ... you're suggesting
        - that if the application is too big, wxPython is not a good choice.
        What's big ?
        - if the target is ... ??? ... it's not a good choice, for what audience
        is wxPython not suited ?
        thanks,
        Stef Mientki

        Comment

        • rm

          #5
          Re: What is the best Python GUI API?

          On Nov 13, 7:08 pm, Stef Mientki <stef.mien...@g mail.comwrote:
          rm wrote:
          On Nov 13, 2:23 pm, James Harris <james.harri... @googlemail.com >
          wrote:
          >
          On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
          >
          >Abah Joseph wrote:
          >
          >> What is the best Python GUI API? I am planning to start my first GUI
          >>application and I need something easy and cross platform. Qt
          >>application s look beautiful but I hate the license. What do you advice?
          >
          >I agree about the Qt-license,
          >and I'm now a happy wxPython user.
          >
          I too have had good results with wxwidgets when developing a GUI. The
          cross-platform native look and feel was a major benefit from my point
          of view allowing screens to "look native" under different OSs with no
          code changes.
          >
          --
          James
          >
          Not so good if your native Linux look is KDE. ;)  I also hate the fact
          that the GTK File Save/Open dialog box does not allow file/folder
          renames.  On Windows, however, wxPython is great.  I guess it depends
          on how big your application is and what is the target audience/
          clientele.
          My very first GUI application ever was a wxPython Windows
          application. You can get it from here if you like:



          Source Code:



          (Keep in mind that I was just learning at the time, so I am not
          particularly proud of the code, and I am sure most of it is deprecated
          by now.)

          You can say that wxPython was my first love as far as GUI development
          goes. I still think it is awesome because it is very rich and
          mature. But, coding with it is not as clean as it could be. There is
          a lot of boiler plate code needed. And I find it a lot less
          'Pythonic' than other alternatives.

          If I was just going to code a small (and I mean small) GUI app for
          Windows (and possibly for Gnome) I would look into PythonCard. It
          uses wxPython in the background, but it provides a much nicer API.
          Unfortunately, not all the power of wxPython is available that way.
          (Although you can drop down to straight wxPython if needed.)

          An example of a PythonCard application I wrote (for Windows) can be
          obtained here:



          Source Code:



          My needs were covered between the two options above. However, two
          things were bugging me. First, I wanted a better (faster) development
          environment. It had to be free since all I code is Free as well. The
          ones I had tried for wxPython were not cutting it. And second, in
          Linux, I prefer KDE. So, I wanted something that was native to KDE.
          When Trolltech released QT as a GPL toolkit I figured I would give it
          a try.

          What I found was very eye opening. The API was beautiful and
          intuitive. The tools and IDE (Eric, QT Designer, etc.) were more
          along the lines of what I was looking for. So, I became a QT
          believer. Unfortunately, my work circumstances have changed and I
          haven't done any more GUI programming since then. (I am a Django
          coder now. :) But, if I was going to do another GUI coding project
          today, I would go with QT. So, you can see where I am coming from.
          Your needs may vary.
          Ok you only guess, but ...
          .. you're suggesting
          - that if the application is too big, wxPython is not a good choice.
          What's big ?
          - if the target is ... ??? ... it's not a good choice, for what audience
          is wxPython not suited ?
          thanks,
          Stef Mientki
          >>
          >

          Comment

          • rm

            #6
            Re: What is the best Python GUI API?

            On Nov 14, 1:59 pm, rm <rmcorresp...@g mail.comwrote:
            On Nov 13, 7:08 pm, Stef Mientki <stef.mien...@g mail.comwrote:
            >
            rm wrote:
            On Nov 13, 2:23 pm, James Harris <james.harri... @googlemail.com >
            wrote:
            >
            >On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
            >
            >>Abah Joseph wrote:
            >
            >>> What is the best Python GUI API? I am planning to start my first GUI
            >>>applicatio n and I need something easy and cross platform. Qt
            >>>applicatio ns look beautiful but I hate the license. What do you advice?
            >
            >>I agree about the Qt-license,
            >>and I'm now a happy wxPython user.
            >
            >I too have had good results with wxwidgets when developing a GUI. The
            >cross-platform native look and feel was a major benefit from my point
            >of view allowing screens to "look native" under different OSs with no
            >code changes.
            >
            >--
            >James
            >
            Not so good if your native Linux look is KDE. ;)  I also hate the fact
            that the GTK File Save/Open dialog box does not allow file/folder
            renames.  On Windows, however, wxPython is great.  I guess it depends
            on how big your application is and what is the target audience/
            clientele.
            >
            My very first GUI application ever was a wxPython Windows
            application.  You can get it from here if you like:
            >

            >
            Source Code:
            >

            >
            (Keep in mind that I was just learning at the time, so I am not
            particularly proud of the code, and I am sure most of it is deprecated
            by now.)
            >
            You can say that wxPython was my first love as far as GUI development
            goes.  I still think it is awesome because it is very rich and
            mature.  But, coding with it is not as clean as it could be.  There is
            a lot of boiler plate code needed.  And I find it a lot less
            'Pythonic' than other alternatives.
            >
            If I was just going to code a small (and I mean small) GUI app for
            Windows (and possibly for Gnome) I would look into PythonCard.  It
            uses wxPython in the background, but it provides a much nicer API.
            Unfortunately, not all the power of wxPython is available that way.
            (Although you can drop down to straight wxPython if needed.)
            >
            An example of a PythonCard application I wrote (for Windows) can be
            obtained here:
            >

            >
            Source Code:
            >

            >
            My needs were covered between the two options above.  However, two
            things were bugging me.  First, I wanted a better (faster) development
            environment.  It had to be free since all I code is Free as well.  The
            ones I had tried for wxPython were not cutting it.  And second, in
            Linux, I prefer KDE.  So, I wanted something that was native to KDE.
            When Trolltech released QT as a GPL toolkit I figured I would give it
            a try.
            >
            What I found was very eye opening.  The API was beautiful and
            intuitive.  The tools and IDE (Eric, QT Designer, etc.) were more
            along the lines of what I was looking for.  So, I became a QT
            believer.  Unfortunately, my work circumstances have changed and I
            haven't done any more GUI programming since then.  (I am a Django
            coder now. :)  But, if I was going to do another GUI coding project
            today, I would go with QT.  So, you can see where I am coming from.
            Your needs may vary.
            >
            Ok you only guess, but ...
            .. you're suggesting
            - that if the application is too big, wxPython is not a good choice.
            What's big ?
            - if the target is ... ??? ... it's not a good choice, for what audience
            is wxPython not suited ?
            thanks,
            Stef Mientki
            >>
            >
            Oops! Here is the source code for DirClean:


            Comment

            Working...