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

posixpath.isjunction

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


Import

import posixpath
from posixpath import isjunction

Signature & Overview

posixpath.isjunction(path)

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

Usage

import posixpath

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

Gotchas

REPL Inspect

from posixpath import isjunction
help(isjunction)

Linked from

Related notes