Current Path : /usr/lib/python2.7/dist-packages/twisted/scripts/ |
Current File : //usr/lib/python2.7/dist-packages/twisted/scripts/htmlizer.pyc |
oUNc @ s d Z d d d !Z d d l m Z m Z d d l m Z d d l Z d d l Z d Z d Z d Z d Z d e j f d YZ d Z d S( s, HTML pretty-printing for Python source code.s $Revision: 1.8 $i ii( t htmlizert usage( 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" />t Optionsc B s^ e Z d e j j e j d f Z d g Z e j d e j d d d g Z d Z RS( s %s [options] source.py i t stylesheett ss URL of stylesheet to link to.t extraActionss *.pyt descrs source python filec C s | | d <d S( Nt filename( ( t selfR ( ( s<