bundles / IPython 9.11.0 / IPython / core / interactiveshell / InteractiveShell / get_path_links
staticmethod
IPython.core.interactiveshell:InteractiveShell.get_path_links
Signature
staticmethod
def get_path_links ( p : Path ) Summary
Gets path links including all symlinks
Examples
In [1]: from IPython.core.interactiveshell import InteractiveShell In [2]: import sys, pathlib In [3]: paths = InteractiveShell.get_path_links(pathlib.Path(sys.executable)) In [4]: len(paths) == len(set(paths)) Out[4]: True In [5]: bool(paths) Out[5]: TrueAliases
-
IPython.InteractiveShell.get_path_links