D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python39
/
lib64
/
python3.9
/
__pycache__
/
Filename :
genericpath.cpython-39.pyc
back
Copy
a XC?h~ � @ s� d Z ddlZddlZg d�Zdd� Zdd� Zdd � Zd d� Zdd � Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� ZejG dd� d��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�samestat� ALLOW_MISSINGc C s, zt �| � W n ttfy& Y dS 0 dS )zDTest whether a path exists. Returns False for broken symbolic linksFT)�os�stat�OSError� ValueError)�path� r �0/opt/alt/python39/lib64/python3.9/genericpath.pyr s r c C s4 zt �| �}W n ttfy& Y dS 0 t�|j�S )z%Test whether a path is a regular fileF)r r r r �S_ISREG�st_mode)r �str r r r s r c C s4 zt �| �}W n ttfy& Y dS 0 t�|j�S )z<Return true if the pathname refers to an existing directory.F)r r r r �S_ISDIRr )�sr r r r r '