î ¼ê[*ã @sÙdZddlZddlZddddddd d d d d g Zdd„Zdd „Zdd „Zdd„Zdd„Zdd„Z dd„Z dd„Z dd „Z dd „Z dd „Zdd„ZdS)z˜ Path operations common to more than one OS Do not use directly. The OS specific modules import the appropriate functions from this module themselves. éNÚ commonprefixÚexistsÚgetatimeÚgetctimeÚgetmtimeÚgetsizeÚisdirÚisfileÚsamefileÚ sameopenfileÚsamestatc Cs.ytj|ƒWntk r)dSYnXdS)zDTest whether a path exists. Returns False for broken symbolic linksFT)ÚosÚstatÚOSError)Úpath©rú!/usr/lib/python3.4/genericpath.pyrs   c Cs<ytj|ƒ}Wntk r+dSYnXtj|jƒS)z%Test whether a path is a regular fileF)r rrÚS_ISREGÚst_mode)rÚstrrrr s   c Cs<ytj|ƒ}Wntk r+dSYnXtj|jƒS)zs"