Top-level Python documents are url accessible with the file
extension of .py. They recieve
the CONNECTION object in their global
namespace and standard output goes to the browser (for the body text, if
you wish to set response headers, they must be set using the
CONNECTION object). For example, the following is a valid
top-level python script:
print "The current URI is: <B>%s</B>" % CONNECTION.uri