| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/olefile/__pycache__/ |
Upload File : |
a
��a_� � @ s� d Z ddlmZ dZdZdZg d�ZddlZddlZddl Z ddl
Z
ddlZddl
Z
ddlZeeurheZzeZW n eZY n0 e
�
d�jd kr�dZn4e
�
d
�jd kr�d
Zne
�
d�jd kr�dZned��ze W n ey� eZY n0 d
Zejd dk �rdZndZejd fdd�Zed�Z dd� Z!dZ"dZ#dZ$dZ%dZ&dZ'dZ(dZ)dZ*dZ+dZ,dZ-d Z.dZ/dZ0dZ1dZ2dZ3dZ4d Z5dZ6dZ7d Z8d!Z9d"Z:d#Z;d$Z<d%Z=d&Z>d'Z?d(Z@d)ZAd*ZBd+ZCd,ZDd-ZEd.ZFd/ZGd0ZHd1ZId2ZJd3ZKd4ZLd5ZMd6ZNd7ZOd8ZPd9ZQd:ZRd;ZSd<ZTd=ZUd>ZVd?ZWd@ZXdAZYdBZZd#Z[d,Z\d6Z]dCZ^dDZ_dEdF� Z`eeu �r@dGdH� ZandIdH� Zad]dJdK�Zbd^dLdM�ZcdNdO� ZddPdQ� ZeG dRdS� dS�ZfG dTdU� dUejg�ZhG dVdW� dW�ZiG dXdY� dY�ZjdZd[� Zkeld\k�r�ek� dS )_a:
olefile (formerly OleFileIO_PL)
Module to read/write Microsoft OLE2 files (also called Structured Storage or
Microsoft Compound Document File Format), such as Microsoft Office 97-2003
documents, Image Composer and FlashPix files, Outlook messages, ...
This version is compatible with Python 2.7 and 3.4+
Project website: https://www.decalage.info/olefile
olefile is copyright (c) 2005-2018 Philippe Lagadec
(https://www.decalage.info)
olefile is based on the OleFileIO module from the PIL library v1.1.7
See: http://www.pythonware.com/products/pil/index.htm
and http://svn.effbot.org/public/tags/pil-1.1.7/PIL/OleFileIO.py
The Python Imaging Library (PIL) is
Copyright (c) 1997-2009 by Secret Labs AB
Copyright (c) 1995-2009 by Fredrik Lundh
See source code and LICENSE.txt for information on usage and redistribution.
� )�print_functionz
2018-09-09z0.46zPhilippe Lagadec)� isOleFile� OleFileIO�OleMetadata�enable_logging�MAGIC�STGTY_EMPTY�KEEP_UNICODE_NAMES�STGTY_STREAM�
STGTY_STORAGE�
STGTY_ROOT�STGTY_PROPERTY�STGTY_LOCKBYTES�MINIMAL_OLEFILE_SIZE�
DEFECT_UNSURE�DEFECT_POTENTIAL�DEFECT_INCORRECT�DEFECT_FATAL�DEFAULT_PATH_ENCODING�
MAXREGSECT�DIFSECT�FATSECT�
ENDOFCHAIN�FREESECT� MAXREGSID�NOSTREAM�UNKNOWN_SIZE�
WORD_CLSIDN�L� �I�iz>Need to fix a bug with 32 bit arrays, please contact author...T� zutf-8� c C sL | t jjjv r&t �| �}|�|� |S t �| �}|�t �� � |�|� |S )an
Create a suitable logger object for this module.
The goal is not to change settings of the root logger, to avoid getting
other modules' logs on the screen.
If a logger exists with same name, reuse it. (Else it would have duplicate
handlers and messages would be doubled.)
The level is set to CRITICAL+1 by default, to avoid any logging.
)�loggingZLogger�managerZ
loggerDictZ getLogger�setLevelZ
addHandlerZNullHandler)�name�level�logger� r* �3/usr/lib/python3.9/site-packages/olefile/olefile.py�
get_logger� s
r, �olefilec C s t �tj� dS )z�
Enable logging for this module (disabled by default).
This will set the module-specific logger level to NOTSET, which
means the main application controls the actual logging level.
N)�logr&