ok
Direktori : /proc/thread-self/root/opt/alt/python34/lib64/python3.4/__pycache__/ |
Current File : //proc/thread-self/root/opt/alt/python34/lib64/python3.4/__pycache__/binhex.cpython-34.pyc |
� e fh6 � @ s9 d Z d d l Z d d l Z d d l Z d d l Z d d d g Z Gd d � d e � Z d Z d Z d Z d Z d Z Gd d � d � Z d d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z d d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z d d � Z d S)z�Macintosh binhex compression/decompression. easy interface: binhex(inputfilename, outputfilename) hexbin(inputfilename, outputfilename) � N�binhex�hexbin�Errorc @ s e Z d Z d S)r N)�__name__� __module__�__qualname__� r r �+/opt/alt/python34/lib64/python3.4/binhex.pyr s � i � �@ s �c @ s e Z d Z d d � Z d S)�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 s� t � } t j | d � �J } | j d � } d | k rE d | _ n | j d d � | j � } Wd QXt j j | � \ } } | j d d d � } | | | d f S) 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% c @ s@ e Z d Z d d � Z d d � Z d d � Z d d � Z d S) �openrsrcc G s d S)Nr )r �argsr r r r C s zopenrsrc.__init__c G s d S)N� r )r r'