Previous Next blank.gif blank.gif

Function image_inventory


SYNOPSIS

import HTMLutil
def image_inventory(directory=os.curdir, prefix=None, flatten=None)

DESCRIPTION

Return a dictionary containing Image objects derived from all GIF/JPEG/PNG files contained in the given directory.

Arguments

directory
Directory containing image files.
prefix
If known, furnish a file prefix for each Image object. See Image class for further details.
flatten
If not None, repr the Image objects out to strings.

SEE ALSO

HTMLutil


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