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

ntpath.ismount

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


Import

import ntpath
from ntpath import ismount

Signature & Overview

ntpath.ismount(path)

Test whether a path is a mount point (a drive root, the root of a share, or a mounted volume)

Usage

import ntpath

assert isinstance(ntpath.ismount('/'), bool)

Gotchas

REPL Inspect

from ntpath import ismount
help(ismount)

Linked from

Related notes