This is a simple CGI program.
import random print("Content-Type: text/html\n\n") print ("Hello world! My lucky number today is " + str(random.randint(1, 10000)) + "!")