On this page
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
- Checks whether a path is a filesystem mount point.
REPL Inspect
from ntpath import ismount
help(ismount)
Linked from
Related notes
- tuts/python3/stdlib_module/ntpath/islink Linked here; links to this page; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/isreserved Linked here; links to this page; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/ntpath/abspath Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/basename Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/commonpath Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/commonprefix Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/dirname shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/exists shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/expanduser shared tags: #ntpath, #stdlib