Previous Next blank.gif blank.gif

Module HTMLutil - This module provides utility functions/classes associated with HTMLgen.


SYNOPSIS

# Classes
class Directory(UserList)
# Functions
def been_marked(text)
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 latin1_escape(s)
def make_array(iterations = 10)
def make_list(iterations = 10)
def make_string(iterations = 10 )
def markup(filename)
def parse_cern_line(line)
def parse_ncsa_line(line)
def print_image_sizes(dir=os.curdir)
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
Font Blue = <HTMLgen.Font instance at  ...
Strong Bold = <HTMLgen.Strong instance a ...
Font Copper = <HTMLgen.Font instance at  ...
Font Green = <HTMLgen.Font instance at  ...
string Name = '[a-zA-Z_][a-zA-Z0-9_]*'
Font Red = <HTMLgen.Font instance at  ...
string __file__ = '/usr/local/lib/python1.5/ ...
string __version__ = '$Id: HTMLutil.py,v 1.3 19 ...
regex class_re = ...
regex comment_re = ...
regex func_re = ...
dictionary shape_names = {'poly': 'polygon', 'rect' ...
regex string_re = ...

DESCRIPTION

This is functionality use by HTMLgen script writers rather than by HTMLgen itself. (i.e. HTMLgen.py is not dependant on this module.)

SEE ALSO

HTMLcolors
HTMLgen
array
os
string
time


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