Thursday, April 22, 2010

Tkinter? Really?

Of all the GUI widget tool kits available Python (PyGTK, PyQT, and wxPython, to name the most popular), the one I use most often is Tkinter, the Python interface for Tcl/Tk. The fact that your Python code is actually calling Tcl/Tk in the background is kind of icky, but Tkinter is also much simpler than any of the other options.

Years ago, the first automation project that I wrote in Python, required a simple GUI which meant that I had to learn a toolkit real fast, and Tkinter's simplicity was a definite advantage. I have written small Python desktop apps using wxPython, but for automation GUIs I always end up using Tkinter again. Yes, I know I'm weird. ^_^

No comments:

Post a Comment