???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................ž
¦ÿfÕO  c            %   @   s  d  Z  d d l Z d d l Z d d l Z d d l Z d d l Td d d d d d	 d
 d d d d d d d d d d d d d d d d d d d d d d  d! d" d# d$ d% d& d' d( g% Z d) Z d* Z d) Z d+ Z	 d, Z
 d- Z d. Z d/ e j k r÷ d0 Z n d1 e j k rd- Z n  d2 Z d3 d4 „  Z d5 d6 „  Z d7 d8 „  Z d9 d: „  Z d; d< „  Z d= d> „  Z d? d@ „  Z dA d „  Z dB d „  Z dC d „  Z dD d „  Z dE d „  Z dF d „  Z dG d	 „  Z e j j  e _  dH d
 „  Z dI d „  Z dJ d „  Z  dK d „  Z! dL d „  Z" dM d „  Z# dN d „  Z$ dO d „  Z% y d dP l& m' Z' Wn e( k
 r`dQ d „  Z) Yn XdR d „  Z) e) Z* e+ e dS ƒ o•e j, ƒ  dT dU k Z- e dV d& „ Z. y9 e j, ƒ  d dU … da k rÙd dX l& m/ Z/ n e( ‚ Wn$ e0 e( f k
 rdY dZ „  Z/ Yn Xd[ d' „  Z1 y d d\ l& m2 Z2 Wn e( k
 rGd] d^ „  Z2 Yn Xd_ d( „  Z3 y d d` l& m4 Z5 Wn e( k
 r|Yn Xd S(b   u   Common pathname manipulations, WindowsNT/95 version.

Instead of importing this module directly, import os and refer to this
module as os.path.
i    N(   u   *u   normcaseu   isabsu   joinu
   splitdriveu   splitu   splitextu   basenameu   dirnameu   commonprefixu   getsizeu   getmtimeu   getatimeu   getctimeu   islinku   existsu   lexistsu   isdiru   isfileu   ismountu
   expanduseru
   expandvarsu   normpathu   abspathu   splituncu   curdiru   pardiru   sepu   pathsepu   defpathu   altsepu   extsepu   devnullu   realpathu   supports_unicode_filenamesu   relpathu   samefileu   sameopenfileu   .u   ..u   \u   ;u   /u   .;C:\binu   ceu   \Windowsu   os2u   nulc             C   s   t  |  t ƒ r d Sd Sd  S(   Ns    u    (   u
   isinstanceu   bytes(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu
   _get_empty&   s    u
   _get_emptyc             C   s   t  |  t ƒ r d Sd Sd  S(   Ns   \u   \(   u
   isinstanceu   bytes(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   _get_sep,   s    u   _get_sepc             C   s   t  |  t ƒ r d Sd Sd  S(   Ns   /u   /(   u
   isinstanceu   bytes(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   _get_altsep2   s    u   _get_altsepc             C   s   t  |  t ƒ r d Sd Sd  S(   Ns   \/u   \/(   u
   isinstanceu   bytes(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   _get_bothseps8   s    u   _get_bothsepsc             C   s   t  |  t ƒ r d Sd Sd  S(   Ns   .u   .(   u
   isinstanceu   bytes(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   _get_dot>   s    u   _get_dotc             C   s   t  |  t ƒ r d Sd Sd  S(   Ns   :u   :(   u
   isinstanceu   bytes(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu
   _get_colonD   s    u
   _get_colonc             C   s   t  |  t ƒ r d Sd Sd  S(   Ns   \\.\s   \\?\u   \\.\u   \\?\(   s   \\.\s   \\?\(   u   \\.\u   \\?\(   u
   isinstanceu   bytes(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   _get_specialJ   s    u   _get_specialc             C   sU   t  |  t t f ƒ s3 t d j |  j j ƒ ƒ ‚ n  |  j t |  ƒ t	 |  ƒ ƒ j
 ƒ  S(   ua   Normalize case of pathname.

    Makes all characters lowercase and all slashes into backslashes.u2   normcase() argument must be str or bytes, not '{}'(   u
   isinstanceu   bytesu   stru	   TypeErroru   formatu	   __class__u   __name__u   replaceu   _get_altsepu   _get_sepu   lower(   u   s(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   normcaseT   s    	c             C   s<   t  |  ƒ d }  t |  ƒ d k o; |  d d … t |  ƒ k S(   u   Test whether a path is absolutei   i    N(   u
   splitdriveu   lenu   _get_bothseps(   u   s(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   isabsd   s    c       
      G   sI  t  |  ƒ } t |  ƒ } t |  ƒ } t |  ƒ \ } } xÊ | D]Â } t | ƒ \ } }	 |	 r |	 d | k r | sx | r | } n  |	 } q= nE | rÒ | | k rÒ | j ƒ  | j ƒ  k rÉ | } |	 } q= n  | } n  | rõ | d | k rõ | | } n  | |	 } q= W| rA| d | k rA| rA| d d  … | k rA| | | S| | S(   Ni    i   iÿÿÿÿiÿÿÿÿ(   u   _get_sepu   _get_bothsepsu
   _get_colonu
   splitdriveu   lower(
   u   pathu   pathsu   sepu   sepsu   colonu   result_driveu   result_pathu   pu   p_driveu   p_path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   joink   s0    		c             C   sJ  t  |  ƒ } t |  ƒ d k r@t |  ƒ } |  j t |  ƒ | ƒ } | d d … | d k r| d d … | k r| j | d ƒ } | d k rš | |  f S| j | | d ƒ } | | d k rÊ | |  f S| d k rå t |  ƒ } n  |  d | … |  | d … f S| d d … t |  ƒ k r@|  d d … |  d d … f Sn  | |  f S(   uÚ  Split a pathname into drive/UNC sharepoint and relative path specifiers.
    Returns a 2-tuple (drive_or_unc, path); either part may be empty.

    If you assign
        result = splitdrive(p)
    It is always true that:
        result[0] + result[1] == p

    If the path contained a drive letter, drive_or_unc will contain everything
    up to and including the colon.  e.g. splitdrive("c:/dir") returns ("c:", "/dir")

    If the path contained a UNC path, the drive_or_unc will contain the host name
    and share up to but not including the fourth directory separator character.
    e.g. splitdrive("//host/computer/dir") returns ("//host/computer", "/dir")

    Paths cannot contain both a drive letter and a UNC path.

    i   i    i   i   Niÿÿÿÿiÿÿÿÿ(   u
   _get_emptyu   lenu   _get_sepu   replaceu   _get_altsepu   findu
   _get_colon(   u   pu   emptyu   sepu   normpu   indexu   index2(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu
   splitdriveŽ   s"    0

!c             C   sa   d d l  } | j d t d ƒ t |  ƒ \ } } t | ƒ d k rW |  d d … |  f S| | f S(   u¢  Deprecated since Python 3.1.  Please use splitdrive() instead;
    it now handles UNC paths.

    Split a pathname into UNC mount point and relative path specifiers.

    Return a 2-tuple (unc, rest); either part may be empty.
    If unc is not empty, it has the form '//host/mount' (or similar
    using backslashes).  unc+rest is always the input path.
    Paths containing drive letters never have an UNC part.
    i    Nu<   ntpath.splitunc is deprecated, use ntpath.splitdrive insteadi   (   u   warningsu   warnu   DeprecationWarningu
   splitdriveu   len(   u   pu   warningsu   driveu   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   splitunc»   s    	
c             C   sÉ   t  |  ƒ } t |  ƒ \ } }  t |  ƒ } x( | rT |  | d | k rT | d 8} q- W|  d | … |  | d … } } | } x0 | r® | d d … | k r® | d d … } q W| p¸ | } | | | f S(   u~   Split a pathname.

    Return tuple (head, tail) where tail is everything after the final slash.
    Either part may be empty.i   Niÿÿÿÿiÿÿÿÿ(   u   _get_bothsepsu
   splitdriveu   len(   u   pu   sepsu   du   iu   headu   tailu   head2(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   splitÕ   s    !c             C   s(   t  j |  t |  ƒ t |  ƒ t |  ƒ ƒ S(   N(   u   genericpathu	   _splitextu   _get_sepu   _get_altsepu   _get_dot(   u   p(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   splitextï   s    c             C   s   t  |  ƒ d S(   u)   Returns the final component of a pathnamei   (   u   split(   u   p(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   basename÷   s    c             C   s   t  |  ƒ d S(   u-   Returns the directory component of a pathnamei    (   u   split(   u   p(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   dirnameþ   s    c             C   sE   y t  j |  ƒ } Wn t  j t f k
 r4 d SYn Xt j | j ƒ S(   uy   Test whether a path is a symbolic link.
    This will always return false for Windows prior to 6.0
    and for OS/2.
    F(   u   osu   lstatu   erroru   AttributeErroru   Falseu   statu   S_ISLNKu   st_mode(   u   pathu   st(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   islink  s
    	c             C   s9   y t  j |  ƒ } Wn t  j t f k
 r4 d SYn Xd S(   uC   Test whether a path exists.  Returns True for broken symbolic linksFT(   u   osu   lstatu   erroru   WindowsErroru   Falseu   True(   u   pathu   st(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   lexists  s
    	c             C   sO   t  |  ƒ } t |  ƒ \ } } | rE | d | k rE | pD | | k S| | k S(   u?   Test whether a path is a mount point (defined as root of drive)i    (   u   _get_bothsepsu
   splitdrive(   u   pathu   sepsu   rootu   rest(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   ismount  s
    c             C   sq  t  |  t ƒ r d } n d } |  j | ƒ s1 |  Sd t |  ƒ } } x0 | | k  rv |  | t |  ƒ k rv | d 7} qG Wd t j k r– t j d } nt d t j k rµ t j d } nU d t j k rÈ |  Sy t j d } Wn t k
 ró d } Yn Xt | t j d ƒ } t  |  t ƒ r1| j	 t
 j ƒ  ƒ } n  | d k r_t t | ƒ |  d | … ƒ } n  | |  | d	 … S(
   uL   Expand ~ and ~user constructs.

    If user or $HOME is unknown, do nothing.s   ~u   ~i   u   HOMEu   USERPROFILEu   HOMEPATHu	   HOMEDRIVEu    N(   u
   isinstanceu   bytesu
   startswithu   lenu   _get_bothsepsu   osu   environu   KeyErroru   joinu   encodeu   sysu   getfilesystemencodingu   dirname(   u   pathu   tildeu   iu   nu   userhomeu   drive(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu
   expanduser/  s0    	%"c             C   su  t  |  t ƒ r t d ƒ |  k r7 t d ƒ |  k r7 |  Sd d l } t | j | j d d ƒ } d } d } d	 } d
 } t t d d ƒ } n] d |  k r© d |  k r© |  Sd d l } | j | j d } d } d } d } d } t j	 } |  d d … } d }	 t
 |  ƒ }
 xb|	 |
 k  rp|  |	 |	 d … } | | k r¶|  |	 d d … }  t
 |  ƒ }
 y/ |  j | ƒ }	 | | |  d |	 d … 7} Wqct k
 r²| |  7} |
 d }	 YqcXn­| | k rÓ|  |	 d |	 d … | k r÷| | 7} |	 d 7}	 qc|  |	 d d … }  t
 |  ƒ }
 y |  j | ƒ }	 Wn* t k
 rV| | |  7} |
 d }	 YqcX|  d |	 … } y< | d k r˜t j t j	 t j | ƒ ƒ } n
 | | } Wn  t k
 rÅ| | | } Yn X| | 7} n| | k rY|  |	 d |	 d … | k r| | 7} |	 d 7}	 qc|  |	 d |	 d … | k ro|  |	 d d … }  t
 |  ƒ }
 y4 t  |  t ƒ rv|  j d ƒ }	 n |  j d ƒ }	 WnJ t k
 rÒt  |  t ƒ r¶| d |  7} n | d |  7} |
 d }	 YqVX|  d |	 … } y< | d k rt j t j	 t j | ƒ ƒ } n
 | | } Wn@ t k
 rat  |  t ƒ rOd | d } n d | d } Yn X| | 7} qc|  d d … } |	 d 7}	 |  |	 |	 d … } x> | rÝ| | k rÝ| | 7} |	 d 7}	 |  |	 |	 d … } q Wy< | d k rt j t j	 t j | ƒ ƒ } n
 | | } Wn t k
 r8| | } Yn X| | 7} | rc|	 d 8}	 qcn
 | | 7} |	 d 7}	 qW| S(   uf   Expand shell variables of the forms $var, ${var} and %var%.

    Unknown variables are left unchanged.u   $u   %i    Nu   _-u   asciis   's   %s   {s   $u   environbu   'u   {i   i   s   }u   }s   ${u   ${(   u
   isinstanceu   bytesu   ordu   stringu   ascii_lettersu   digitsu   getattru   osu   Noneu   environu   lenu   indexu
   ValueErroru   fsencodeu   fsdecodeu   KeyError(   u   pathu   stringu   varcharsu   quoteu   percentu   braceu   dollaru   environu   resu   indexu   pathlenu   cu   varu   value(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu
   expandvars`  sÂ    $	 

"
"


"

c             C   s²  t  |  ƒ } t |  ƒ d } t |  ƒ } |  j | ƒ r; |  S|  j t |  ƒ | ƒ }  t |  ƒ \ } }  |  j | ƒ r | | 7} |  j | ƒ }  n  |  j | ƒ } d } xÕ | t	 | ƒ k  r|| | sÛ | | t |  ƒ k rå | | =q¨ | | | k ro| d k r7| | d | k r7| | d | d … =| d 8} qy| d k rb| j
 t  |  ƒ ƒ rb| | =qy| d 7} q¨ | d 7} q¨ W| r¡| r¡| j t |  ƒ ƒ n  | | j | ƒ S(   u0   Normalize path, eliminating double slashes, etc.i   i    i   (   u   _get_sepu   _get_dotu   _get_specialu
   startswithu   replaceu   _get_altsepu
   splitdriveu   lstripu   splitu   lenu   endswithu   appendu   join(   u   pathu   sepu   dotdotu   special_prefixesu   prefixu   compsu   i(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   normpath×  s4    
!
 !
(   u   _getfullpathnamec             C   sR   t  |  ƒ sH t |  t ƒ r* t j ƒ  } n t j ƒ  } t | |  ƒ }  n  t |  ƒ S(   u&   Return the absolute version of a path.(   u   isabsu
   isinstanceu   bytesu   osu   getcwdbu   getcwdu   joinu   normpath(   u   pathu   cwd(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   abspath  s    c             C   sb   |  r. y t  |  ƒ }  WqX t k
 r* YqX Xn* t |  t ƒ rL t j ƒ  }  n t j ƒ  }  t |  ƒ S(   u&   Return the absolute version of a path.(   u   _getfullpathnameu   WindowsErroru
   isinstanceu   bytesu   osu   getcwdbu   getcwdu   normpath(   u   path(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   abspath  s    u   getwindowsversioni   i   c             C   sž  t  |  ƒ } | t k r' t |  ƒ } n  |  s< t d ƒ ‚ n  t t | ƒ ƒ } t t |  ƒ ƒ } t | ƒ \ } } t | ƒ \ } } t | ƒ t | ƒ k r½ d j | | ƒ }	 t |	 ƒ ‚ n  d d „  | j	 | ƒ Dƒ }
 d d „  | j	 | ƒ Dƒ } d } xC t
 |
 | ƒ D]2 \ } } t | ƒ t | ƒ k r3Pn  | d 7} qWt |  t ƒ rYd } n d	 } | g t |
 ƒ | | | d
 … } | s”t |  ƒ St | Œ  S(   u#   Return a relative version of a pathu   no path specifiedu,   path is on mount '{0}', start on mount '{1}'c             S   s   g  |  ] } | r | ‘ q S(    (    (   u   .0u   x(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu
   <listcomp>6  s   	 u   relpath.<locals>.<listcomp>c             S   s   g  |  ] } | r | ‘ q S(    (    (   u   .0u   x(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu
   <listcomp>7  s   	 i    i   s   ..u   ..N(   u   _get_sepu   curdiru   _get_dotu
   ValueErroru   abspathu   normpathu
   splitdriveu   normcaseu   formatu   splitu   zipu
   isinstanceu   bytesu   lenu   join(   u   pathu   startu   sepu	   start_absu   path_absu   start_driveu
   start_restu
   path_driveu	   path_restu   erroru
   start_listu	   path_listu   iu   e1u   e2u   pardiru   rel_list(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   relpath#  s6    	%
i   (   u   _getfinalpathnamec             C   s   t  t |  ƒ ƒ S(   N(   u   normcaseu   abspath(   u   f(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   _getfinalpathnameV  s    u   _getfinalpathnamec             C   s   t  |  ƒ t  | ƒ k S(   u9   Test whether two pathnames reference the same actual file(   u   _getfinalpathname(   u   f1u   f2(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   samefileY  s    (   u   _getfileinformationc             C   s   |  S(   N(    (   u   fd(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   _getfileinformationc  s    u   _getfileinformationc             C   s   t  |  ƒ t  | ƒ k S(   u5   Test whether two file objects reference the same file(   u   _getfileinformation(   u   f1u   f2(    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   sameopenfilef  s    (   u   _isdir(   i   i    (6   u   __doc__u   osu   sysu   statu   genericpathu   __all__u   curdiru   pardiru   extsepu   sepu   pathsepu   altsepu   defpathu   builtin_module_namesu   devnullu
   _get_emptyu   _get_sepu   _get_altsepu   _get_bothsepsu   _get_dotu
   _get_colonu   _get_specialu   normcaseu   isabsu   joinu
   splitdriveu   splituncu   splitu   splitextu	   _splitextu   basenameu   dirnameu   islinku   lexistsu   ismountu
   expanduseru
   expandvarsu   normpathu   ntu   _getfullpathnameu   ImportErroru   abspathu   realpathu   hasattru   getwindowsversionu   supports_unicode_filenamesu   relpathu   _getfinalpathnameu   AttributeErroru   samefileu   _getfileinformationu   sameopenfileu   _isdiru   isdir(    (    (    u+   /opt/alt/python33/lib64/python3.3/ntpath.pyu   <module>   s   
		
#-1w)'
