Current Path : /usr/local/lib/python2.5/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/uu.pyc |
³ò h”Rc @ s• d Z d d k Z d d k Z d d k Z d d d g Z d e f d „ ƒ YZ d d d „ Z d d d d „ Z d „ Z e d j o e ƒ n d S( sƒ Implementation of the UUencode and UUdecode functions. encode(in_file, out_file [,name, mode]) decode(in_file [, out_file, mode]) iÿÿÿÿNt Errort encodet decodec B s e Z RS( ( t __name__t __module__( ( ( s /usr/local/lib/python2.5/uu.pyR ' s c C sƒ | d j o t i } n„ t | t ƒ os | d j o t i i | ƒ } n | d j o0 y t i | ƒ i } WqŠ t j o qŠ Xn t | d ƒ } n | d j o t i } n$ t | t ƒ o t | d ƒ } n | d j o d } n | d j o d } n | i d | d @| f ƒ | i d ƒ } x= t | ƒ d j o) | i t i | ƒ ƒ | i d ƒ } q5W| i d ƒ d S( s Uuencode filet -t rbt wi¶ s begin %o %s iÿ i- i s end N( t syst stdint isinstancet basestringt Nonet ost patht basenamet statt st_modet AttributeErrort opent stdoutt writet readt lent binasciit b2a_uu( t in_filet out_filet namet modet data( ( s /usr/local/lib/python2.5/uu.pyR * s4 i c C sÌ | d j o t i } n! t | t ƒ o t | ƒ } n x¬ t o¤ | i ƒ } | p t d ƒ ‚ n | i d ƒ p q= n | i d d ƒ } t | ƒ d j oA | d d j o0 y t | d d ƒ PWqä t j o qä Xq= q= W| d j o; | d i ƒ } t i i | ƒ o t d | ƒ ‚ q1n | d j o t | d d ƒ } n t } | d j o t i } n] t | t ƒ oL t | d ƒ } y t i i | | ƒ Wn t j o n X| } t } n | i ƒ } x¼ | o´ | i ƒ d j o¡ y t i | ƒ } Wnn t i j o_ } t | d ƒ d d @d d d } t i | | ƒ } | p t i i d | ƒ q~n X| i | ƒ | i ƒ } qàW| p t d ƒ ‚ n | o | i ƒ n d S( s Decode uuencoded fileR s' No valid begin line found in input filet begint i i i i i s"