Did I find the right examples for you? yes no

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)
Output the I{lst} as an html table with I{header} items
and the applied I{style}

@param lst: The list of items to be shown
@type lst: list
@param header: The table header
@type header: list
@param style: The style to apply to the table
@type style: string

        def output_html(lst, header=[], style=""):
    """
    Output the I{lst} as an html table with I{header} items
    and the applied I{style}

    @param lst: The list of items to be shown
    @type lst: list
    @param header: The table header
    @type header: list
    @param style: The style to apply to the table
    @type style: string
    """
    s = "  " % style
    for item in header:
        s += "" % item
    s += ""
    

    for item in lst:
        s += "" % item
    s += "
%s
%s
" return s


src/n/l/nltk_contrib-HEAD/nltk_contrib/fuf/fuf.py   nltk_contrib(Download)
from link import *
from linearizer import *
from util import output_html, flatten
 
 
            if result:
                output = " ".join(linearize(result))
                print output_html([ifs, gfs, result, output])
                print i, "result:", output
            else:

src/n/l/nltk_contrib-HEAD/nltk_contrib/fuf/linearizer.py   nltk_contrib(Download)
import nltk
from link import *
from util import output_html
 
def linearize(fstruct):