Previous Next blank.gif blank.gif

Module cgiapp


SYNOPSIS

# Classes
class CGI(SeriesDocument)
class MinimalCGI(SimpleDocument, CGI)
# Functions
def been_marked(text)
def compare_f2f(f1, f2)
def compare_s2f(s, f2)
def escape(text, replace=string.replace)
def expand_dir_path(path)
def expand_file_path(path)
def expandpath(path)
def fetch_image_inventory(directory, file='images.pkl')
def find_class( s, begin=0 )
def find_comment( s, begin=0 )
def find_docstring( s, begin=0)
def find_function( s, begin=0 )
def find_string_literal( s, begin=0 )
def global_substitute(search_func, repl_func, s)
def image_inventory(directory=os.curdir, prefix=None, flatten=None)
def imap_convert(filename, format='NCSA')
def imgsize(path)
def latin1_escape(s)
def make_array(iterations = 10)
def make_list(iterations = 10)
def make_string(iterations = 10 )
def markup(filename)
def markup_re(text, rex=None, marker=None, collapse=0)
def mpath(path)
def overlay_values(obj, dict)
def parse_cern_line(line)
def parse_ncsa_line(line)
def print_image_sizes(dir=os.curdir)
def relpath(path1, path2)
def store_image_inventory(directory=os.curdir, file='images.pkl', prefix=None)
def test_Directory()
def test_driver()
def test_image_inventory()
def test_imap_convert()
def test_markup()
def test_perf(iter=10)
def test_template()
# Variables
string AQUA = '#33CCCC'
string BLACK = '#000000'
string BLUE = '#0000FF'
string BLUE = '#0000FF'
string BLUE2 = '#0000EE'
string BLUE3 = '#0000DD'
string BLUE4 = '#0000CC'
string BLUE5 = '#0000BB'
string BLUE6 = '#000099'
string BROWN = '#CC9966'
Font Blue = <HTMLgen.Font instance at  ...
Strong Bold = <HTMLgen.Strong instance a ...
string CADETBLUE = '#9999CC'
string CONTYPE = 'Content-Type: text/html\0 ...
string COPPER = '#CC6600'
Font Copper = <HTMLgen.Font instance at  ...
string DOCTYPE = '<!DOCTYPE HTML PUBLIC "-/ ...
string GRAY = '#0C0C0C'
string GRAY1 = '#EEEEEE'
string GRAY2 = '#DDDDDD'
string GRAY3 = '#CCCCCC'
string GRAY4 = '#BBBBBB'
string GRAY5 = '#AAAAAA'
string GRAY6 = '#999999'
string GREEN = '#00DD00'
string GREEN1 = '#00EE00'
string GREEN = '#00DD00'
string GREEN3 = '#00CC00'
string GREEN4 = '#00BB00'
string GREEN5 = '#00AA00'
string GREEN6 = '#009900'
string GRAY = '#0C0C0C'
string GRAY1 = '#EEEEEE'
string GRAY2 = '#DDDDDD'
string GRAY3 = '#CCCCCC'
string GRAY4 = '#BBBBBB'
string GRAY5 = '#AAAAAA'
string GRAY6 = '#999999'
Font Green = <HTMLgen.Font instance at  ...
string LIME = '#CCFF66'
string MOROON = '#CC3366'
string Name = '[a-zA-Z_][a-zA-Z0-9_]*'
string OLIVE = '#999966'
string ORANGE = '#FFCC33'
string PEACH = '#FFCC99'
string PINK = '#FF99CC'
int I_am_a_list = 1
string PURPLE = '#CC66FF'
string RED = '#EE0000'
string RED1 = '#FF0000'
string RED = '#EE0000'
string RED3 = '#DD0000'
string RED4 = '#CC0000'
string RED5 = '#BB0000'
string RED6 = '#990000'
Font Red = <HTMLgen.Font instance at  ...
string SEAGREEN = '#0099CC'
string SKYBLUE = '#99CCFF'
string TAN = '#FFCCCC'
string WHITE = '#FFFFFF'
string YELLOW = '#FFFF66'
string __file__ = '/usr/local/lib/python1.5/ ...
string __version__ = '$Id: cgiapp.py,v 1.1 1998 ...
regex class_re = ...
regex comment_re = ...
regex func_re = ...
dictionary shape_names = {'poly': 'polygon', 'rect' ...
regex string_re = ...

DESCRIPTION

SEE ALSO

HTMLcolors
HTMLgen
array
cgi
copy
os
re
string
tempfile
time
traceback


Previous Next blank.gif blank.gif
Buzz.gif

Copyright © 1996-9 Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999