ok
Direktori : /opt/alt/python36/lib64/python3.6/__pycache__/ |
Current File : //opt/alt/python36/lib64/python3.6/__pycache__/binhex.cpython-36.pyc |
3 *j�a�6 � @ s� d Z ddlZddlZddlZddlZdddgZG dd� de�ZdZdZ dZ d Zd ZG dd� d�Z d d� ZG dd� d�ZG dd� d�ZG dd� d�ZG dd� d�Zdd� ZG dd� d�ZG dd� d�ZG dd� d�Zdd� ZdS )z�Macintosh binhex compression/decompression. easy interface: binhex(inputfilename, outputfilename) hexbin(inputfilename, outputfilename) � N�binhex�hexbin�Errorc @ s e Zd ZdS )r N)�__name__� __module__�__qualname__� r r �+/opt/alt/python36/lib64/python3.6/binhex.pyr s � i � �@ � �c @ s e Zd Zdd� ZdS )�FInfoc C s d| _ d| _d| _d S )Nz????r )�Type�Creator�Flags)�selfr r r �__init__0 s zFInfo.__init__N)r r r r r r r r r / s r c C st t � }tj| d��2}|jd�}d|kr,d|_|jdd� |j� }W d Q R X tjj | �\}}|j ddd�}|||dfS ) N�rbi r ZTEXT� �:�-r )r �io�open�readr �seek�tell�os�path�split�replace)�name�finfo�fp�dataZdsize�dir�filer r r �getfileinfo5 s r&