name prefix line[mlen:- print('creating:'nameoutput open(name' 'or make new output if __name__ ='__main__'unpack(sys argv[ ]these scripts are fairly basicand this gui part of the book assumes you've already scanned the system tools so we won' go into their code in depth variants of these scripts appeared in the first edition of this book in actually used them early on in my python career to bundle files before could rely on tools like tar and zip to be present on all the machines used (and before python grew tar and zip support modules in its standard librarytheir operation is straightforward--consider these three text filesc:\pp \gui\shellguitype spam txt spam spam spam :\pp \gui\shellguitype eggs txt eggs :\pp \gui\shellguitype ham txt when run from the command linethe packer script combines them into single text fileand the unpacker extracts them from therethe packer must take care to glob (expandfilename patternsbecause this isn' done by default in windowsc:\pp \gui\shellguipacker py packed txt txt packingeggs txt packingham txt packingspam txt :\pp \gui\shellguiunpacker py packed txt creatingnew-eggs txt creatingnew-ham txt creatingnew-spam txt the result files have unique name by default (with an added prefix to avoid accidental overwritesespecially during testing)but you otherwise get back what you packedc:\pp \gui\shellguitype new-spam txt spam spam spam :\pp \gui\shellguitype packed txt ::::::::::::::::::::textpak=>eggs txt eggs ::::::::::::::::::::textpak=>ham txt gui coding techniques