Staging: this is not the live site, pydocs.org.
File and Directory Access
Test whether a path exists. Returns False for broken symbolic links
Changed in 3.3, 3.6
- 3.3: path can now be an integer: True is returned if it is an open file descriptor, False otherwise.
- 3.6: Accepts a path-like object.