gallerifrey.py
def generateImageTable(images):
    """Returns an HTML table string linking to all the images given."""
    imgstring = """
    <p>
      <a href="{0}">
        <img src="{1}" border=1 alt="{1}">
      </a>
    </p>
    <p>{2}</p>
"""
    imgps = [
        imgstring.format(
             getImagePageName(image),
             getThumbnailName(image),
             image)
         for image in images]
    return generateTable(imgps, "imagetable", "<p> </p>", 4)
Returns an HTML table string linking to all the images given.
Returns an HTML table string linking to all the images given.
Returns an HTML table string linking to all the images given .
def generateImageTable(images):
    imgstring = """
    <p>
      <a href="{0}">
        <img src="{1}" border=1 alt="{1}">
      </a>
    </p>
    <p>{2}</p>
"""
    imgps = [
        imgstring.format(
             getImagePageName(image),
             getThumbnailName(image),
             image)
         for image in images]
    return generateTable(imgps, "imagetable", "<p> </p>", 4)
def generateImageTable ( images ) : imgstring = """
    <p>
      <a href="{0}">
        <img src="{1}" border=1 alt="{1}">
      </a>
    </p>
    <p>{2}</p>
""" imgps = [ imgstring . format ( getImagePageName ( image ) , getThumbnailName ( image ) , image ) for image in images ] return generateTable ( imgps , "imagetable" , "<p> </p>" , 4 )
Returns an HTML table string linking to all the images given.
Returns an HTML table string linking to all the images given .
"""Returns an HTML table string linking to all the images given."""
images