bundles / IPython 9.17.0 / IPython / utils / text / SList
class
IPython.utils.text:SList
Signature
class SList(iterable = (), /)Members
Summary
List derivative with a special access attributes.
Extended Summary
These are normal lists, but with the special attributes:
.l (or .list)value as list (the list itself).
.n (or .nlstr): value as a string, joined on newlines.
.s (or .spstr): value as a string, joined on spaces.
.p (or .paths): list of pathlib.Path objects (existing files only)
Any values which require transformations are computed only once and cached.
Aliases
IPython.core.interactiveshell.SList