On this page
  1. ntpath.exists
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

ntpath.exists

Prev: ntpath.dirname | Up: ntpath | Next: ntpath.expanduser
Rel: ntpath.abspath, ntpath.basename, ntpath.commonpath, ntpath.commonprefix
Ref: docs.python.org — ntpath.exists
Tags: #public #python3 #stdlib #ntpath


Import

import ntpath
from ntpath import exists

Signature & Overview

ntpath.exists(path)

Test whether a path exists. Returns False for broken symbolic links

Usage

import ntpath

assert ntpath.exists('.') is True

Gotchas

REPL Inspect

from ntpath import exists
help(exists)

Linked from

Related notes