part ii example - pp \internet\sockets\getfilegui- py ""launch getfile script client from simple tkinter guicould also use os fork+execos spawnv (see launcher)windowsreplace 'pythonwith 'startif not on path""import sysos from tkinter import from tkinter messagebox import showinfo def onreturnkey()cmdline ('python getfile py -mode client -file % -port % -host % (content['file'get()content['port'get()content['server'get())os system(cmdlineshowinfo('getfilegui- ''download complete'box tk(labels ['server''port''file'content {for label in labelsrow frame(boxrow pack(fill=xlabel(rowtext=labelwidth= pack(side=leftentry entry(rowentry pack(side=rightexpand=yesfill=xcontent[labelentry box title('getfilegui- 'box bind(''(lambda eventonreturnkey())mainloop(when runthis script creates the input form shown in figure - pressing the enter key (runs client-side instance of the getfile programwhen the generated getfile command line is finishedwe get the verification pop up displayed in figure - figure - getfilegui- in action network scripting