Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/Tools/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/Tools/scripts/hotshotmain.pyc
�
[��dc@s�dZddlZddlZddlZddlZddlZdZd�Zd�Ze	dkr�ej
eejd��ndS(s�
Run a Python script under hotshot's control.

Adapted from a posting on python-dev by Walter D�rwald

usage %prog [ %prog args ] filename [ filename args ]

Any arguments after the filename are used as sys.argv for the filename.
i����Nshotshot.profcCs�tj|�}tjjdtjj|��|g|t_|jd|�|j	�tj
j|�}|jdd�tj
}tjt_
|j�|t_
dS(Nisexecfile(%r)ttimetcalls(thotshottProfiletsystpathtinserttostdirnametargvtruntclosetstatstloadt
sort_statststdouttstderrtprint_stats(tfilenametprofiletargstprofRtsave_stdout((s1/usr/lib64/python2.7/Tools/scripts/hotshotmain.pytrun_hotshots
	
	cCs�tjt�}|j�|jdddddtdddd	�|j|�\}}t|�d
kry|jd�dS|d
}t	||j
|d�S(
Ns-ps	--profiletactiontstoretdefaulttdestRthelpsSpecify profile file to useismissing script to executei(toptparsetOptionParsert__doc__tdisable_interspersed_argst
add_optiontPROFILEt
parse_argstlent
print_helpRR(RtparsertoptionsR((s1/usr/lib64/python2.7/Tools/scripts/hotshotmain.pytmain(s



t__main__i(RRRRRt
hotshot.statsR"RR(t__name__texitR	(((s1/usr/lib64/python2.7/Tools/scripts/hotshotmain.pyt<module>s		

ZeroDay Forums Mini