l
´SKc               @   s   d  Z  d d l Z d d l Z 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   Z d   Z d S(   u   
Path operations common to more than one OS
Do not use directly.  The OS specific modules import the appropriate
functions from this module themselves.
i    Nu   commonprefixu   existsu   getatimeu   getctimeu   getmtimeu   getsizeu   isdiru   isfilec             C   s1   y t  j |   Wn t  j k
 r, d SYn Xd S(   uD   Test whether a path exists.  Returns False for broken symbolic linksFT(   u   osu   statu   erroru   Falseu   True(   u   path(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   exists   s
    	c             C   s?   y t  j |   } Wn t  j k
 r. d SYn Xt j | j  S(   u%   Test whether a path is a regular fileF(   u   osu   statu   erroru   Falseu   S_ISREGu   st_mode(   u   pathu   st(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   isfile   s
    	c             C   s?   y t  j |   } Wn t  j k
 r. d SYn Xt j | j  S(   u<   Return true if the pathname refers to an existing directory.F(   u   osu   statu   erroru   Falseu   S_ISDIRu   st_mode(   u   su   st(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   isdir&   s
    	c             C   s   t  j |   j S(   u1   Return the size of a file, reported by os.stat().(   u   osu   statu   st_size(   u   filename(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   getsize/   s    c             C   s   t  j |   j S(   uC   Return the last modification time of a file, reported by os.stat().(   u   osu   statu   st_mtime(   u   filename(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   getmtime4   s    c             C   s   t  j |   j S(   u=   Return the last access time of a file, reported by os.stat().(   u   osu   statu   st_atime(   u   filename(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   getatime9   s    c             C   s   t  j |   j S(   uA   Return the metadata change time of a file, reported by os.stat().(   u   osu   statu   st_ctime(   u   filename(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   getctime>   s    c             C   sa   |  s
 d St  |   } t |   } x8 t |  D]* \ } } | | | k r/ | d |  Sq/ W| S(   uG   Given a list of pathnames, returns the longest common leading componentu    N(   u   minu   maxu	   enumerate(   u   mu   s1u   s2u   iu   c(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   commonprefixD   s     c             C   sÇ   |  j  |  } | r6 |  j  |  } t | |  } n  |  j  |  } | | k r³ | d } xU | | k  rŻ |  | | d  | k r˘ |  d |  |  | d  f S| d 7} q^ Wn  |  |  d d  f S(   u¤   Split the extension from a pathname.

    Extension is everything from the last dot to the end, ignoring
    leading dots.  Returns "(root, ext)"; ext may be empty.i   Ni    (   u   rfindu   max(   u   pu   sepu   altsepu   extsepu   sepIndexu   altsepIndexu   dotIndexu   filenameIndex(    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu	   _splitextU   s    
(   u   __doc__u   osu   statu   __all__u   existsu   isfileu   isdiru   getsizeu   getmtimeu   getatimeu   getctimeu   commonprefixu	   _splitext(    (    (    u[   I:\Didattica\Lezioni\Software\blender-2.61-release-windows32\2.61\python\lib\genericpath.pyu   <module>   s   									