remote machineand compare their reply text to the expected output ss we'll see url lib request in action again in later examples before we move onhere are few advanced urllib request usage notes firstthis module also supports proxiesalternative transmission modesthe client side of secure httpscookiesredirectionsand more for instanceproxies are supported transparently with environment variables or system settingsor by using proxyhandler objects in this module (see its documentation for details and examplesmoreoveralthough it normally doesn' make difference to python scriptsit is possible to send parameters in both the get and the put submission modes described earlier with urllib request the get modewith parameters in the query string at the end of url as shown in the prior listingis used by default to invoke postpass parameters in as separate argumentfrom urllib request import urlopen from urllib parse import urlencode params urlencode({'user''brian'}params 'user=brianprint(urlopen('tutor py greetings hellobrian finallyif your web application depends on client-side cookies (discussed laterthese are supported by urllib request automaticallyusing python' standard library cookie support to store cookies locallyand later return them to the server it also supports redirectionauthenticationand morethe client side of secure http transmissions (httpsis supported if your computer has secure sockets support available (most dosee the python library manual for details we'll explore both cookies later in this and introduce secure https in the next using tables to lay out forms now let' move on to something bit more realistic in most cgi applicationsinput pages are composed of multiple fields when there is more than oneinput labels and fields are typically laid out in tableto give the form well-structured appearance the html file in example - defines form with two input fields ss if your job description includes extensive testing of server-side scriptsyou may also want to explore twilla python-based system that provides little language for scripting the client-side interface to web applications search the web for details climbing the cgi learning curve