Home | History | Annotate | Download | only in python2.7

Lines Matching full:path

2 Path operations common to more than one OS
13 # Does a path exist?
15 def exists(path):
16 """Test whether a path exists. Returns False for broken symbolic links"""
18 os.stat(path)
25 # for the same path ono systems that support symlinks
26 def isfile(path):
27 """Test whether a path is a regular file"""
29 st = os.stat(path)
35 # Is a path a directory?
37 # can be true for the same path on systems that support symlinks
78 # Split a path in root and extension.