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

ntpath.isjunction

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


Import

import ntpath
from ntpath import isjunction

Signature & Overview

ntpath.isjunction(path)

Test whether a path is a junction Junctions are not supported on the current platform

Usage

import ntpath

if hasattr(ntpath, 'isjunction'):
    assert isinstance(ntpath.isjunction('.'), bool)

Gotchas

REPL Inspect

from ntpath import isjunction
help(isjunction)

Linked from

Related notes