Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/scripts/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/scripts/__pycache__/htmlizer.cpython-310.pyc
o

�b"�@sjdZddd�ZddlZddlZddlmZddlmZmZdZ	d	Z
d
ZdZGdd
�d
ej
�Z
dd�ZdS)z.
HTML pretty-printing for Python source code.
z$Revision: 1.8 $�����N)�	copyright)�htmlizer�usagez�<html><head>
<title>%(title)s</title>
<meta name="Generator" content="%(generator)s" />
%(alternate)s
%(stylesheet)s
</head>
<body>
z</body>z3<link rel="stylesheet" href="%s" type="text/css" />z?<link rel="alternate" href="%(source)s" type="text/x-python" />c@sJeZdZd�ej�ejd��Z	dgZ
ejej
ddd�gd�Zdd	�Zd
S)�Optionsz{} [options] source.py
    r)�
stylesheet�sNzURL of stylesheet to link to.z*.pyzsource python file)�descr)�extraActionscCs||d<dS)N�filename�)�selfrr
r
�:/usr/lib/python3/dist-packages/twisted/scripts/htmlizer.py�	parseArgs/szOptions.parseArgsN)�__name__�
__module__�__qualname__�format�os�path�basename�sys�argv�synopsis�
optParametersr�Completions�
CompleteFiles�compDatarr
r
r
rr!s����rc
Cs*t�}z|��Wntjy'}ztt|��t�d�WYd}~nd}~ww|d}|�d�dur;t	|df}nd}t
|dd��G}t|dtj
��td|i|d	�}|�|�d
��t
|d��}t�||tj�Wd�n1svwY|�t�d
��Wd�dS1s�wYdS)N�rr�z.html�wbz	htmlizer/�source)�title�	generator�	alternaterzutf-8�rb)r�parseOptionsr�
UsageError�print�strr�exit�get�	styleLink�open�headerr�longversion�
alternateLink�write�encoder�filter�SmallerHTMLWriter�footer)�options�err�output�	outHeader�fr
r
r�run3s2��

��"�r<)�__doc__�__version__rr�twistedr�twisted.pythonrrr/r6r-r1rr<r
r
r
r�<module>s

Spamworldpro Mini