def path2stdout(sourcepath, title='', colors=None, markup='html', header=None, footer=None, linenumbers=0, form=None):
 sourcestring = open(sourcepath).read()
 Parser(sourcestring, colors=colors, title=sourcepath, markup=markup, header=header, footer=footer, linenumbers=linenumbers).format(form)

def path2stdout ( sourcepath , title = '' , colors = None , markup = 'html' , header = None , footer = None , linenumbers = 0 , form = None ) : sourcestring = open ( sourcepath ) . read ( ) Parser ( sourcestring , colors = colors , title = sourcepath , markup = markup , header = header , footer = footer , linenumbers = linenumbers ) . format ( form )
converts code to colorized html .