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

ntpath.lexists

Prev: ntpath.join | Up: ntpath | Next: ntpath.normcase
Rel: ntpath.abspath, ntpath.basename, ntpath.commonpath, ntpath.commonprefix
Ref: docs.python.org — ntpath.lexists
Tags: #public #python3 #stdlib #ntpath


Import

import ntpath
from ntpath import lexists

Signature & Overview

ntpath.lexists(path)

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

Usage

import ntpath

assert ntpath.lexists('.') is True

Gotchas

REPL Inspect

from ntpath import lexists
help(lexists)

Linked from

Related notes