form shown in figure - this is also what we get when its main function is launched by the mytools py shell tools gui users may either type input and output filenames into the entry fields or press the "browsebuttons to pop up standard file selection dialogs they can also enter filename patterns--the manual glob call in this script expands filename patterns to match names and filters out nonexistent input filenames againthe unix command line does this pattern expansion automatically when running the packer from shellbut windows does not figure - the packdlg input form when the form is filled in and submitted with its ok buttonparameters are finally passed along to the main function of the non-gui packer script listed earlier to perform file concatenations the gui interface to the unpacking script is simpler because there is only one input field--the name of the packed file to scan we also get to reuse the form row builder module developed for the packer' dialogbecause this task is so similar the script in example - (and its main function run by the mytools py shell tool gui' selectionsgenerates the input form window shown in figure - figure - the unpkdlg input form example - pp \gui\shellgui\unpkdlg py popup gui dialog for unpacker script argumentsand run it from tkinter import from unpacker import unpack from formrows import makeformrow widget classes use unpack script/module form fields builder def unpackdialog()shellguiguis for command-line tools