IPython 8.4.0 Pypi GitHub Homepage
Other Docs
cd(self, parameter_s='')

This command automatically maintains an internal list of directories you visit during your IPython session, in the variable _dh . The command :None:magic:`%dhist` shows this history nicely formatted. You can also do cd -<tab> to see directory history conveniently. Usage:

note

cd <bookmark_name> is enough if there is no directory

<bookmark_name> , but a bookmark with the name exists.

Options:

-q Be quiet. Do not print the working directory after the

cd command is executed. By default IPython's cd command does print this directory, since the default prompts do not display path information.

note

Note that !cd doesn't work for this purpose because the shell where !command runs is immediately discarded after executing 'command'.

Change the current working directory.

Examples

In [10]: cd parent/child /home/tsuser/parent/child

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/core/magics/osm.py#296
type: <class 'function'>
Commit: