Lines Matching full:path
62 dirname, basename = os.path.split(pathname)
81 # `os.path.split()` returns the argument itself as a dirname if it is a
82 # drive or UNC path. Prevent an infinite recursion if a drive or UNC path
99 yield os.path.join(dirname, name)
116 # `os.path.split()` returns an empty basename for paths ending with a
185 path = _join(dirname, x) if dirname else x
186 for y in _rlistdir(path, dir_fd, dironly,
192 # Same as os.path.lexists(), but with dir_fd
194 return os.path.lexists(pathname)
203 # Same as os.path.isdir(), but with dir_fd
205 return os.path.isdir(pathname)
217 return os.path.join(dirname, basename)
229 def _ishidden(path):
230 return path[0] in ('.', b'.'[0])
243 drive, pathname = os.path.splitdrive(pathname)