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

genericpath.islink

Prev: genericpath.isjunction | Up: genericpath | Next: genericpath.lexists
Rel: genericpath.commonprefix, genericpath.exists, genericpath.getatime, genericpath.getctime
Ref: docs.python.org — genericpath.islink
Tags: #public #python3 #stdlib #genericpath


Import

import genericpath
from genericpath import islink

Signature & Overview

genericpath.islink(path)

Test whether a path is a symbolic link

Usage

import os

assert os.path.islink(".") is False

Gotchas

REPL Inspect

from genericpath import islink
help(islink)

Linked from

Related notes