File: class/Workbook/Examples/Lecture14/cgi2.txt

import cgi                   # see library manual
. . . 
form = cgi.FormContent()     # parse input stream
if form.has_key("fieldname"):
    data = form["fieldname"][0]



[Home page] Books Code Blog Python Author Train Find ©M.Lutz