Previous blank.gif blank.gif Home Page

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


SYNOPSIS

# Classes
class Directory(UserList)
class UserList

# Functions
def Blue(text)
def Bold(text)
def Copper(text)
def Green(text)
def Red(text)
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 make_array(iterations = 10)
def make_string(iterations = 10 )
def markup(filename)
def parse_cern_line(line)
def parse_ncsa_line(line)
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)

# Variables
string Name = '[a-zA-Z_][a-zA-Z0-9_]*'
string __file__ = './HTMLutil.py'
regex class_re = ...
regex comment_re = ...
regex func_re = ...
dictionary shape_names = {'rect': 'rect', 'circ': ' ...
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
regex
string
time


Previous blank.gif blank.gif Home Page
Buzz.gif

Copyright © 1996 Robin Friedrich
All Rights Reserved
Comments to author: friedric@phoenix.net
Generated: Mon Dec 2 1996