def WebIt(sourcePath, outdir=None, colors=None, show=0):
    print" Converting %s into HTML" % sourcePath                
    if colors is None:
        # Default colorscheme
        colors = _Dark
    # If no outdir is given we use the sourcePath
    if outdir is None:
        htmlPath = sourcePath + '.html'
    else:
        # If we do give an outdir, and it does
        # not exist , it will be created.
        if not os.path.isdir(outdir):
            os.makedirs(outdir)
        sourceName = os.path.basename(sourcePath)
        htmlPath = os.path.join(outdir,sourceName)+'.html'
        print "  Output to %s"%htmlPath
    # Open the text and do the parsing.
    source = open(sourcePath).read()
    Parser(source, colors, sourcePath, open(htmlPath, 'wt')).format(None, None)
    if show:
        # load HTML page into the default web browser.
        # slower than os.startfile or os.system, but more universal
        try:
            webbrowser.open_new(htmlPath)
        except:
            pass
    return htmlPath
Returns True if capability is an anticapability; False otherwise.
dataset/ETHPy150Open anandology/pyjamas/examples/showcase/pyColourize.py/WebIt--crossover with--dataset/ETHPy150Open ProgVal/Limnoria/src/ircdb.py/isAntiCapability