causes the script in example - to be executed on the server machinewith the inputs typed by the user example - pp \internet\web\cgi-bin\tutor py #!/usr/bin/python ""runs on the serverreads form inputprints htmlurl ""import cgisys sys stderr sys stdout form cgi fieldstorage(print('content-typetext/html\ 'errors to browser parse form data plus blank line class dummydef __init__(selfs)self value form {'user'dummy('bob')'age':dummy(' ')html ""tutor py greetings % % % ""if not 'userin formline 'who are you?elseline 'hello% form['user'value line "you're talking to % server sys platform line "if 'agein formtryline "your age squared is % !(int(form['age'value* exceptline "sorryi can' compute % * form['age'value print(html (line line line )the table layout comes from the html filenot from this python cgi script in factthis script doesn' do much new--it uses string formatting to plug input values into the response page' html triple-quoted template string as beforethis time with one line per input field when this script is run by submitting the input form pageits output produces the new reply page shown in figure - climbing the cgi learning curve