MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.126
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python2.7/site-packages/chardet/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python2.7/site-packages/chardet/chardetect.pyo
�
��L]c@skdZddlmZddlmZmZddlmZdd�Zd�Z	e
dkrge	�nd	S(
s
Script which takes one or more file paths and reports on their detected
encodings

Example::

    % chardetect somefile someotherfile
    somefile: windows-1252 with confidence 0.5
    someotherfile: ascii with confidence 1.0

If no paths are provided, it takes its input from stdin.

i����(topen(targvtstdin(tUniversalDetectorRcCsit�}x|D]}|j|�qW|j�|j}|dr]d||d|dfSd|SdS(s;Return a string describing the probable encoding of a file.tencodings%s: %s with confidence %st
confidences
%s: no resultN(Rtfeedtclosetresult(tfiletnametutlineR((s6/usr/lib/python2.7/site-packages/chardet/chardetect.pytdescription_ofs	

	
cCs_tt�dkr tt�GHn;x8tdD],}t|d��}t||�GHWdQXq+WdS(Nitrb(tlenRR
RR(tpathtf((s6/usr/lib/python2.7/site-packages/chardet/chardetect.pytmain#s
t__main__N(t__doc__tioRtsysRRtchardet.universaldetectorRR
Rt__name__(((s6/usr/lib/python2.7/site-packages/chardet/chardetect.pyt<module>
s		

MMCT - 2023