It would be nice to have a way to build quick-n-dirty GUIs so I can GUI-enable tools when that makes sense… but I’ve always just had a mental block about “going to that length”.
Yesterday though, I was flipping through Python in a Nutshell and I saw a GUI example there (p. 329) that was so simple I typed it in and tried it out :
import sys, Tkinter Tkinter.Label(text="Welcome!").pack() Tkinter.Button(text="Exit", command=sys.exit).pack() Tkinter.mainloop()
That yields a simple little dialog:
…that can be resized:
I need to try some more of this!