input area all have name option in the html filewhich identifies their selected value in the data sent from client to server when we fill out this form and click the send submit buttonthe script in example - runs on the server to process all the input data typed or selected in the form example - pp \internet\web\cgi-bin\tutor py #!/usr/bin/python ""runs on the serverreads form inputprints html ""import cgisys form cgi fieldstorage(print("content-typetext/html"parse form data plus blank line html ""tutor py greetings your name is %(name) you wear rather %(shoesize) shoes your current job%(job) you program in %(language) you also said%(comment) ""data {for field in ('name''shoesize''job''language''comment')if not field in formdata[field'(unknown)elseif not isinstance(form[field]list)data[fieldform[fieldvalue elsevalues [ value for in form[field]data[fieldand join(valuesprint(html datathis python script doesn' do muchit mostly just copies form field information into dictionary called data so that it can be easily inserted into the triple-quoted response template string few of its techniques merit explanationfield validation as usualwe need to check all expected fields to see whether they really are present in the input datausing the dictionary in expression any or all of the input fields may be missing if they weren' entered on the form or appended to an explicit url climbing the cgi learning curve