#!/usr/bin/env python # -*- coding: utf-8 -*- import cgi, sys, time import cgitb; cgitb.enable() print "Content-Type: text/html;charset=UTF-8" print print """\
60 seconds of server time, one by one.
""" for i in range(60): s = time.strftime("%Y-%m-%d %H:%M:%S") print "done.
"