The main part should give some indication of the general
structure of the project.
Usually the main part contains
the "import cgi" statement
the form.getvalue() function calls that retrieve the variables
from the form
the basic HTML code for a reply that will be sent to the user
(This can also be done in a function which should be included in this
assignment. The content of the reply that
is sent to the user does not have to be complete but a template
should be provided.)
some functions that, for example, deal with user input or searching.
These functions are not expected to be complete for this assignment
but they should be included without code, such as
so that the script does not produce syntax errors.
Further Criteria for grading:
the script must be executable without syntax errors
the general outline of the project must be indicated by the names
of the subroutines
the use of global variables should be avoided