#!/usr/bin/env python import cgitb cgitb.enable() import sys, os import notes print 'Content-Type: text/html; charset=utf-8' print print '' docroot = os.environ.get('DOCUMENT_ROOT') fn = os.path.join(docroot, '.' + sys.argv[1]) note = notes.Note(fn) print 'Gallimaufry of Whits, ' + note.cite + '' print '' print '' print print '

' + note.content + '

' print '
' print 'by Sean B. Palmer ' print '
' print '

Gallimaufry of Whits

' # EOF