#!/usr/bin/env python3 # Import modules for CGI handling import cgi import cgitb # Enable error reporting cgitb.enable() # Create instance of FieldStorage form = cgi.FieldStorage() # Set the content type to HTML print("Content-Type: text/html\n") # Output a simple HTML page print("") print("") print("CGI Script Test") print("") print("") print("

CGI Script is Running

") print("

Your web server is working correctly!

") print("") print("")