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

ntpath.isdir

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


Import

import ntpath
from ntpath import isdir

Signature & Overview

ntpath.isdir(s)

Return true if the pathname refers to an existing directory.

Usage

import ntpath

assert ntpath.isdir('.') is True

Gotchas

REPL Inspect

from ntpath import isdir
help(isdir)

Linked from

Related notes