Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/scripts/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/scripts/htmlizer.pyc


oUNc@sdZddd!ZddlmZmZddlmZddlZddlZdZ	d	Z
d
ZdZdej
fd
YZ
dZdS(s,HTML pretty-printing for Python source code.s$Revision: 1.8 $iii(thtmlizertusage(t	copyrightNs<html><head>
<title>%(title)s</title>
<meta name="Generator" content="%(generator)s" />
%(alternate)s
%(stylesheet)s
</head>
<body>
s</body>s3<link rel="stylesheet" href="%s" type="text/css" />s?<link rel="alternate" href="%(source)s" type="text/x-python" />tOptionscBs^eZdejjejdfZdgZ	e
jde
jdddgZ
d	ZRS(s%s [options] source.py
    it
stylesheettssURL of stylesheet to link to.textraActionss*.pytdescrssource python filecCs||d<dS(Ntfilename((tselfR((s</usr/lib/python2.7/dist-packages/twisted/scripts/htmlizer.pyt	parseArgs)sN(s
stylesheetRNsURL of stylesheet to link to.(t__name__t
__module__tostpathtbasenametsystargvtsynopsistNonet
optParametersRtCompletionst
CompleteFilestcompDataR
(((s</usr/lib/python2.7/dist-packages/twisted/scripts/htmlizer.pyRs		cCst}y|jWn.tjk
rG}t|GHtjdnX|d}|jddk	r{t	|df}nd}t
|dd}zo|jti|d6dt
jfd	6ti|d
6d6|d6tjt
||tj|jtWd|jXdS(NiRRts.htmltwttitleshtmlizer/%st	generatortsourcet	alternate(RtparseOptionsRt
UsageErrortstrRtexittgetRt	styleLinktopentwritetheaderRtlongversiont
alternateLinkRtfiltertSmallerHTMLWritertfootertclose(toptionsteRRtoutput((s</usr/lib/python2.7/dist-packages/twisted/scripts/htmlizer.pytrun,s*	

(t__doc__t__version__ttwisted.pythonRRttwistedRR
RR&R+R#R(RR0(((s</usr/lib/python2.7/dist-packages/twisted/scripts/htmlizer.pyt<module>s