uawdijnntqw1x1x1
IP : 3.145.152.168
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
..
/
..
/
lib64
/
python2.7
/
Demo
/
parser
/
.
/
..
/
scripts
/
..
/
xml
/
elem_count.pyo
/
/
� ��^c@s�dZddlZddlmZddlmZmZdejfd��YZe dkr�e�Z e je��e jej d�ndS( s� A simple demo that reads in an XML document and displays the number of elements and attributes as well as a tally of elements and attributes by name. i����N(tdefaultdict(tmake_parserthandlertFancyCountercBs#eZd�Zd�Zd�ZRS(cCs4d|_d|_tt�|_tt�|_dS(Ni(t_elemst_attrsRtintt_elem_typest_attr_types(tself((s+/usr/lib64/python2.7/Demo/xml/elem_count.pyt__init__ s cCse|jd7_|jt|�7_|j|cd7<x'|j�D]}|j|cd7<qDWdS(Ni(RRtlenRtkeysR(R tnametattrs((s+/usr/lib64/python2.7/Demo/xml/elem_count.pytstartElements cCstdG|jGdGHdG|jGdGHdGHx |jj�D]}d|GHq5WdGHx |jj�D]}d|GHq]WdS(Ns There weres elements.sattributes.s---ELEMENT TYPESs%20s %ds---ATTRIBUTE TYPES(RRRtitemsR(R tpair((s+/usr/lib64/python2.7/Demo/xml/elem_count.pytendDocuments (t__name__t __module__R RR(((s+/usr/lib64/python2.7/Demo/xml/elem_count.pyRs t__main__i(t__doc__tsystcollectionsRtxml.saxRRtContentHandlerRRtparsertsetContentHandlertparsetargv(((s+/usr/lib64/python2.7/Demo/xml/elem_count.pyt<module>s
/home/jackpotjunglegam/../../lib64/python2.7/Demo/parser/./../scripts/../xml/elem_count.pyo