IPython 8.4.0 Pypi GitHub Homepage
Other Docs
Parameters
find_cmd(cmd)

This function tries to determine the full path to a command line program using :None:None:`which` on Unix/Linux/OS X and :None:None:`win32api` on Windows. Most of the time it will use the version that is first on the users :None:None:`PATH`.

Warning, don't use this to find IPython command line programs as there is a risk you will find the wrong one. Instead find those using the following code and looking for the application itself:

import sys
argv = [sys.executable, '-m', 'IPython']

Parameters

cmd : str

The command line program to look for.

Find absolute path to executable cmd in a cross platform manner.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /IPython/utils/process.py#28
type: <class 'function'>
Commit: