$92 GRAYBYTE WORDPRESS FILE MANAGER $89

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python36/lib64/python3.6/email/mime/__pycache__/

HOME
Current File : /opt/alt/python36/lib64/python3.6/email/mime/__pycache__//audio.cpython-36.pyc
3

� f�
�@s`dZdgZddlZddlmZddlmZddlmZddd	d	d
�Z	dd�Z
Gd
d�de�ZdS)z/Class representing audio/* type MIME documents.�	MIMEAudio�N)�BytesIO)�encoders)�MIMENonMultipartZbasiczx-wavzx-aiff)ZauZwavZaiffZaifccCsH|dd�}t|�}x.tjD]$}|||�}|dk	rtj|d�SqWdS)aTry to identify a sound file type.

    sndhdr.what() has a pretty cruddy interface, unfortunately.  This is why
    we re-do it here.  It would be easier to reverse engineer the Unix 'file'
    command and use the standard 'magic' file, as shipped with a modern Unix.
    Nir)r�sndhdrZtests�_sndhdr_MIMEmap�get)�dataZhdrZfakefileZtestfn�res�r�5/opt/alt/python36/lib64/python3.6/email/mime/audio.py�_whatsnds
r
c@s&eZdZdZdejfdd�dd�ZdS)rz,Class for generating audio/* MIME documents.N)�policycKsP|dkrt|�}|dkr td��tj|d|fd|i|��|j|�||�dS)aCreate an audio/* type MIME document.

        _audiodata is a string containing the raw audio data.  If this data
        can be decoded by the standard Python `sndhdr' module, then the
        subtype will be automatically included in the Content-Type header.
        Otherwise, you can specify  the specific audio subtype via the
        _subtype parameter.  If _subtype is not given, and no subtype can be
        guessed, a TypeError is raised.

        _encoder is a function which will perform the actual encoding for
        transport of the image data.  It takes one argument, which is this
        Image instance.  It should use get_payload() and set_payload() to
        change the payload to the encoded form.  It should also add any
        Content-Transfer-Encoding or other headers to the message as
        necessary.  The default encoding is Base64.

        Any additional keyword arguments are passed to the base class
        constructor, which turns them into parameters on the Content-Type
        header.
        Nz!Could not find audio MIME subtypeZaudior)r
�	TypeErrorr�__init__Zset_payload)�selfZ
_audiodataZ_subtypeZ_encoderrZ_paramsrrrr-s
zMIMEAudio.__init__)�__name__�
__module__�__qualname__�__doc__rZ
encode_base64rrrrrr*s)r�__all__r�iorZemailrZemail.mime.nonmultipartrrr
rrrrr�<module>s


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-36.opt-1.pyc
0.136 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.opt-2.pyc
0.125 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.pyc
0.136 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
application.cpython-36.opt-1.pyc
1.416 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
application.cpython-36.opt-2.pyc
0.767 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
application.cpython-36.pyc
1.416 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
audio.cpython-36.opt-1.pyc
2.548 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
audio.cpython-36.opt-2.pyc
1.131 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
audio.cpython-36.pyc
2.548 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base.cpython-36.opt-1.pyc
1.05 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base.cpython-36.opt-2.pyc
0.69 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base.cpython-36.pyc
1.05 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
image.cpython-36.opt-1.pyc
1.851 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
image.cpython-36.opt-2.pyc
0.788 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
image.cpython-36.pyc
1.851 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
message.cpython-36.opt-1.pyc
1.293 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
message.cpython-36.opt-2.pyc
0.762 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
message.cpython-36.pyc
1.293 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
multipart.cpython-36.opt-1.pyc
1.51 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
multipart.cpython-36.opt-2.pyc
0.68 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
multipart.cpython-36.pyc
1.51 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
nonmultipart.cpython-36.opt-1.pyc
0.743 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
nonmultipart.cpython-36.opt-2.pyc
0.601 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
nonmultipart.cpython-36.pyc
0.743 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
text.cpython-36.opt-1.pyc
1.277 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
text.cpython-36.opt-2.pyc
0.768 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
text.cpython-36.pyc
1.277 KB
17 Apr 2024 5.19 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF