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

ntpath.islink

Prev: ntpath.isjunction | Up: ntpath | Next: ntpath.ismount
Rel: ntpath.abspath, ntpath.basename, ntpath.commonpath, ntpath.commonprefix
Ref: docs.python.org — ntpath.islink
Tags: #public #python3 #stdlib #ntpath


Import

import ntpath
from ntpath import islink

Signature & Overview

ntpath.islink(path)

Test whether a path is a symbolic link

Usage

import ntpath

assert ntpath.islink('.') is False

Gotchas

REPL Inspect

from ntpath import islink
help(islink)

Linked from

Related notes