which redefines its toolbar construction method would be both great way to experiment with the code and useful utility if added every cool feature imaginablethoughthis book could easily become big enough to be gravitationally significant shellguiguis for command-line tools demos are funbut to better show how things like the guimixin class can be of practical usewe need more realistic application here' onesuppose you've written set of command-line system administration scriptsalong the lines of those we studied in part ii as we sawsuch scripts work well from command linebut require you to remember all their options each time they are runif you're like methis usually implies having to pore over the source code after period of nonuse instead of requiring users of such tools (including yourselfto type cryptic commands at shellwhy not also provide an easy-to-use tkinter gui interface for running such programssuch gui can prompt for command-line inputsinstead of expecting users to remember them while we're at itwhy not generalize the whole notion of running command-line tools from guito make it easy to support future tools tooa generic shell-tools display examples - through - --seven filesspanning two command-line scriptsone gui utility moduletwo gui dialogsand main gui and its options specification module--comprise concrete implementation of these artificially rhetorical musings because want this to be general-purpose tool that can run any command-line programits design is factored into modules that become more application-specific as we go lower in the software hierarchy at the topthings are about as generic as they can beas shown in example - example - pp \gui\shellgui\shellgui py #!/usr/local/bin/python ""###############################################################################tools launcheruses guimaker templatesguimixin std quit dialogi am just class libraryrun mytools script to display the gui###############################################################################""from tkinter import from pp gui tools guimixin import guimixin from pp gui tools guimaker import get widgets get quitnot done menu/toolbar builder class shellgui(guimixinguimakerwindowmenu) frame maker mixins shellguiguis for command-line tools