when it is calledwe get back an object that looks like dictionary--user input fields from the form (or urlshow up as values of keys in this object for examplein the scriptform['user'is an object whose value attribute is string containing the text typed into the form' text field if you flip back to the form page' htmlyou'll notice that the input field' name option was user--the name in the form' html has become key we use to fetch the input' value from dictionary the object returned by fieldstorage supports other dictionary operationstoo--for instancethe in expression may be used to check whether field is present in the input data before exitingthis script prints html to produce result page that echoes back what the user typed into the form two string-formatting expressions (%are used to insert the input text into reply stringand the reply string into the triple-quoted html string block the body of the script' output looks like thistutor py greetings helloking arthur in browserthe output is rendered into page like the one in figure - figure - tutor py result for parameters in form passing parameters in urls notice that the url address of the script that generated this page shows up at the top of the browser we didn' type this url itself--it came from the action tag of the prior page' form html howevernothing is stopping us from typing the script' url explicitly in our browser' address field to invoke the scriptjust as we did for our earlier cgi script and html file examples climbing the cgi learning curve