One Hat Cyber Team
Your IP :
18.227.79.208
Server IP :
103.133.214.160
Server :
Linux venus.ewebguru.net 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
Apache/2
PHP Version :
8.1.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.6
/
__pycache__
/
View File Name :
gzip.cpython-36.pyc
3 \nO � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlZddddgZ d\Z ZZZ Zd\ZZddd�Zdd� ZG dd� d�ZG dd� dej�ZG dd� dej�Zddd�Zdd� Zdd� Zedkr�e� dS )z�Functions that read and write gzipped files. The user of the file doesn't have to worry about the compression, but random access is not allowed.� N�GzipFile�open�compress� decompress� � � � � �rb� c C s� d|kr d|krPt d|f ��n0|dk r0t d��|dk r@t d��|dk rPt d��|jdd�}t| tttjf�r|t| ||�}n,t| d �s�t| d �r�td||| �}nt d��d|kr�t j||||�S |S dS )a Open a gzip-compressed file in binary or text mode. The filename argument can be an actual filename (a str or bytes object), or an existing file object to read from or write to. The mode argument can be "r", "rb", "w", "wb", "x", "xb", "a" or "ab" for binary mode, or "rt", "wt", "xt" or "at" for text mode. The default mode is "rb", and the default compresslevel is 9. For binary mode, this function is equivalent to the GzipFile constructor: GzipFile(filename, mode, compresslevel). In this case, the encoding, errors and newline arguments must not be provided. For text mode, a GzipFile object is created, and wrapped in an io.TextIOWrapper instance with the specified encoding, error handling behavior, and line ending(s). �t�bzInvalid mode: %rNz0Argument 'encoding' not supported in binary modez.Argument 'errors' not supported in binary modez/Argument 'newline' not supported in binary mode� �read�writez1filename must be a str or bytes object, or a file)� ValueError�replace� isinstance�str�bytes�os�PathLiker �hasattr� TypeError�io� TextIOWrapper)�filename�mode� compresslevel�encoding�errors�newlineZgz_modeZbinary_file� r# �/usr/lib64/python3.6/gzip.pyr s$ c C s | j tjd|�� d S )Nz<L)r �structZpack)�output�valuer# r# r$ �write32u@ s r( c @ s<