Tkinter for system administration?

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

    #1

    Tkinter for system administration?

    Is Tkinter pretty common for simple behind-the-scenes admin tools where
    a GUI is required (for instance, data entry tools for non-programmers)
    or has everybody moved on to wx/GTK/QT/etc.?

    I'm not particularly concerned with speed or appearance; the ability to
    crank out simple GUIs quickly and without a lot of hassles or trips to
    the reference manual is more important. I have no trouble using Tkinter
    because I used to write a bit of Tcl/Tk back in the day, and I'm pretty
    aware of its strengths and weaknesses. For simple tools, is there any
    reason to switch to one of the more popular GUI frameworks?

    Thanks,
    Dave
  • Martin v. Löwis

    #2
    Re: Tkinter for system administration?

    Dave Benjamin wrote:[color=blue]
    > Is Tkinter pretty common for simple behind-the-scenes admin tools where
    > a GUI is required (for instance, data entry tools for non-programmers)
    > or has everybody moved on to wx/GTK/QT/etc.?[/color]

    Yes. It has the advantage that it is typically available when Python
    and X11 are both available.
    [color=blue]
    > For simple tools, is there any
    > reason to switch to one of the more popular GUI frameworks?[/color]

    No.

    Regards,
    Martin

    Comment

    • Alex Martelli

      #3
      Re: Tkinter for system administration?

      "Martin v. Löwis" <martin@v.loewi s.de> wrote:
      [color=blue]
      > Dave Benjamin wrote:[color=green]
      > > Is Tkinter pretty common for simple behind-the-scenes admin tools where
      > > a GUI is required (for instance, data entry tools for non-programmers)
      > > or has everybody moved on to wx/GTK/QT/etc.?[/color]
      >
      > Yes. It has the advantage that it is typically available when Python
      > and X11 are both available.[/color]

      ....and even when X11 is not available, such as Windows, or Mac (on the
      Aqua side of things -- many people don't even bother installing the X11
      implementation on their Mac...).

      [color=blue][color=green]
      > > For simple tools, is there any
      > > reason to switch to one of the more popular GUI frameworks?[/color]
      >
      > No.[/color]

      I agree. That's why I chose to cover Tkinter in the Nutshell, even
      though I got some surprised comments from some wx fans _and_ from people
      I know I prefer Qt: Tkinter is widely available, adequate for simple
      tools which need no complicated functionality nor spiffy looks, _and_
      simple enough that I could cover its fundamentals in 30 pages, examples
      included.


      Alex

      Comment

      • Dave Benjamin

        #4
        Re: Tkinter for system administration?

        Alex Martelli wrote:[color=blue]
        > "Martin v. Löwis" <martin@v.loewi s.de> wrote:[color=green]
        >>Dave Benjamin wrote:
        >>[color=darkred]
        >>>Is Tkinter pretty common for simple behind-the-scenes admin tools where
        >>>a GUI is required (for instance, data entry tools for non-programmers)
        >>>or has everybody moved on to wx/GTK/QT/etc.?[/color]
        >>
        >>Yes. It has the advantage that it is typically available when Python
        >>and X11 are both available.[/color]
        >
        > ...and even when X11 is not available, such as Windows, or Mac (on the
        > Aqua side of things -- many people don't even bother installing the X11
        > implementation on their Mac...).[/color]

        Right. Windows would be main target, for now, but the ability to port to
        Mac and Linux is definitely a bonus.
        [color=blue][color=green][color=darkred]
        >>>For simple tools, is there any
        >>>reason to switch to one of the more popular GUI frameworks?[/color]
        >>
        >>No.[/color]
        >
        > I agree. That's why I chose to cover Tkinter in the Nutshell, even
        > though I got some surprised comments from some wx fans _and_ from people
        > I know I prefer Qt: Tkinter is widely available, adequate for simple
        > tools which need no complicated functionality nor spiffy looks, _and_
        > simple enough that I could cover its fundamentals in 30 pages, examples
        > included.[/color]

        Thanks. This is what I wanted to hear. =)

        Dave

        Comment

        • Stephen Ferg

          #5
          Re: Tkinter for system administration?

          the ability to[color=blue]
          > crank out simple GUIs quickly and without a lot of hassles or trips to
          > the reference manual is more important.[/color]

          Look at Easygui

          Comment

          Working...