NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib64/python2.7/Tools/scripts/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib64/python2.7/Tools/scripts/parseentities.pyo
�
�fc@s�dZddlZddlZddlZejd�Zddd�Zd�Ze	dkr�e
ej�dkr�eejd�Z
n	ejZ
e
ej�d	kr�eejd	d
�Zn	ejZe
j�Zee�Zeee�ndS(s� Utility for parsing HTML entity definitions available from:

      http://www.w3.org/ as e.g.
      http://www.w3.org/TR/REC-html40/HTMLlat1.ent

    Input is read from stdin, output is written to stdout in form of a
    Python snippet defining a dictionary "entitydefs" mapping literal
    entity name to character or numeric entity.

    Marc-Andre Lemburg, mal@lemburg.com, 1999.
    Use as you like. NO WARRANTIES.

i����Ns7<!ENTITY +(\w+) +CDATA +"([^"]+)" +-- +((?:.|
)+?) *-->icCs�d}|dkr!t|�}ni}xTtj|||�}|sIPn|j�\}}}||f||<|j�}q*W|S(Ni(tNonetlententityREtsearchtgroupstend(ttexttpostendpostdtmtnametcharcodetcomment((s3/usr/lib64/python2.7/Tools/scripts/parseentities.pytparsescCs�|jd�|j�}|j�x�|D]�\}\}}|d dkr�t|dd!�}|dkrxd|}q�t|�}nt|�}tj|�}|jd|||f�q*W|jd�dS(	Nsentitydefs = {
is&#i����is'\%o's    '%s':	%s,  	# %s
s
}
(twritetitemstsorttinttreprt	TextToolstcollapse(tftdefsRRRR
tcode((s3/usr/lib64/python2.7/Tools/scripts/parseentities.pyt	writefile#s


t__main__iitw(t__doc__tretsysRtcompileRRRRt__name__RtargvtopentinfiletstdintoutfiletstdouttreadRR(((s3/usr/lib64/python2.7/Tools/scripts/parseentities.pyt<module>s			

NineSec Team - 2022