1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<!-- This file generated using Python HTMLgen module. -->
<HEAD>
<META NAME="GENERATOR" CONTENT="HTMLgen 2.2.2">
<TITLE>Module HTMLutil - This module provides utility functions/classes associated with HTMLgen.</TITLE>
<LINK rel=stylesheet href="HTMLgen.css" type=text/css title="HTMLgen.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" BACKGROUND="../image/bg-dots.gif" TEXT="#000000" LINK="#EE0000" VLINK="#990000">
<A HREF="HTMLcolors_overview.html"><IMG src="../image/back.gif" height="22" width="66" alt="Previous" border="0"></A>
<A HREF="HTMLcalendar_overview.html"><IMG src="../image/next.gif" height="22" width="66" alt="Next" border="0"></A>
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif">
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif">
<H3>Module HTMLutil - This module provides utility functions/classes associated with HTMLgen.</H3>
<HR>
<H2>SYNOPSIS</H2>
<PRE># Classes
<A HREF="HTMLutil-Directory.html">class Directory(UserList)</A>
</PRE>
<PRE># Functions
<A HREF="HTMLutil-been_marked.html">def been_marked(text)</A>
<A HREF="HTMLutil-expand_dir_path.html">def expand_dir_path(path)</A>
<A HREF="HTMLutil-expand_file_path.html">def expand_file_path(path)</A>
<A HREF="HTMLutil-expandpath.html">def expandpath(path)</A>
<A HREF="HTMLutil-fetch_image_inventory.html">def fetch_image_inventory(directory, file='images.pkl')</A>
def find_class( s, begin=0 )
def find_comment( s, begin=0 )
<A HREF="HTMLutil-find_docstring.html">def find_docstring( s, begin=0)</A>
def find_function( s, begin=0 )
def find_string_literal( s, begin=0 )
<A HREF="HTMLutil-global_substitute.html">def global_substitute(search_func, repl_func, s)</A>
<A HREF="HTMLutil-image_inventory.html">def image_inventory(directory=os.curdir, prefix=None, flatten=None)</A>
<A HREF="HTMLutil-imap_convert.html">def imap_convert(filename, format='NCSA')</A>
<A HREF="HTMLutil-latin1_escape.html">def latin1_escape(s)</A>
def make_array(iterations = 10)
def make_list(iterations = 10)
def make_string(iterations = 10 )
<A HREF="HTMLutil-markup.html">def markup(filename)</A>
<A HREF="HTMLutil-parse_cern_line.html">def parse_cern_line(line)</A>
<A HREF="HTMLutil-parse_ncsa_line.html">def parse_ncsa_line(line)</A>
<A HREF="HTMLutil-print_image_sizes.html">def print_image_sizes(dir=os.curdir)</A>
<A HREF="HTMLutil-store_image_inventory.html">def store_image_inventory(directory=os.curdir, file='images.pkl', prefix=None)</A>
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()
</PRE>
<PRE># 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 = ...
</PRE>
<H2>DESCRIPTION</H2>
<P>This is functionality use by HTMLgen script writers rather than by HTMLgen
itself. (i.e. HTMLgen.py is not dependant on this module.)
</P>
<H2>SEE ALSO</H2>
<PRE><A HREF="HTMLcolors_overview.html">HTMLcolors</A>
<A HREF="HTMLgen_overview.html">HTMLgen</A>
<A HREF="array_overview.html">array</A>
<A HREF="os_overview.html">os</A>
<A HREF="string_overview.html">string</A>
<A HREF="time_overview.html">time</A>
</PRE>
<P><HR>
<A HREF="HTMLcolors_overview.html"><IMG src="../image/back.gif" height="22" width="66" alt="Previous" border="0"></A>
<A HREF="HTMLcalendar_overview.html"><IMG src="../image/next.gif" height="22" width="66" alt="Next" border="0"></A>
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif">
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif">
<BR><IMG src="../image/Buzz.gif" height="51" width="56" alt="Buzz.gif" align="bottom">
<FONT SIZE="-1"><P>Copyright © 1996-9 Robin Friedrich<BR>All Rights Reserved<BR>
Comments to author: <A HREF="mailto:friedrich@pythonpros.com">friedrich@pythonpros.com</A><br>
Generated: Tue Apr 20, 1999 <BR><hr>
</FONT>
</BODY> </HTML>
|