Have a look at the Python code in
import cherrypy import json import os import os.path import glob from configparser import RawConfigParser as configparser from uuid import uuid4 as uuid from datetime import date import logon
This first part illustrates Python's "batteries included" philosophy nicely: besides the
cherrypy module and our own
logon module, we need quite a bit of specific functionality. For example, to generate unique identifiers, we use the
uuid module and to manipulate dates, we use the
datetime module. All of this functionality is already bundled with Python, saving us an enormous amount of development time. The next part is the definition of the basic HTML ...