
    d                     B    d Z dZddlZddlZddlZd ZddZd	dZd
dZy)zMpath.py is a utility containing some very simple path utilities for Py to usez.David N. Mashburn <david.n.mashburn@gmail.com>    Nc                  >    t        t        j                                y N)printosgetcwd     ,/usr/lib/python3/dist-packages/wx/py/path.pypwdr   
   s    	"))+r	   c                     t        j                  t         j                  j                  t         j                  j	                  |                    |rt                y y r   )r   chdirpath
expandvars
expanduserr   )r   usePrints     r
   cdr      s9    HHRWW 2 24 89: r	   c                 0   t        j                   t        j                  j                  t        j                  j	                  |                   }|r|D ]  }t        |        y |D ]-  }t        t        j                  j                  |      d          / y )N   )globr   r   r   r   r   split)strfullpathgis       r
   lsr      sr    
ii""277#5#5c#:;<A 	A!H	  	'A"''--"1%&	'r	   c                 @    t        t        j                  |              y r   )r   
subprocess	getoutput)r   s    r
   sxr   !   s    	*

s
#$r	   )T)*F) )	__doc__
__author__r   r   r   r   r   r   r   r   r	   r
   <module>r$      s,    S=
 
  
'%r	   