def main():
    """Initialize program variables and start the server."""
    # Initialize verse database and libary.
    os.chdir(os.path.dirname(sys.argv[0]))
    VerseMatch.init('Quizes', 'bible13.db')
    # Start servlet with debugging enabled.
    servlet.HttpServlet.debug(True)
    servlet.HttpServer.main(VerseMatch, 8080)
Initialize program variables and start the server.
recipes/Python/577043_Bible_Verse_Quiz__VerseMatchpy/recipe-577043.py