Edit file File name : binhex.cpython-36.pyc Content :3 \�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 �/usr/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&