You are viewing an older version (9.12.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.12.0 / IPython / core / magics / osm / OSMagics / bookmark

function

IPython.core.magics.osm:OSMagics.bookmark

source: /IPython/core/magics/osm.py :737

Signature

def   bookmark ( self parameter_s = '' )

Summary

Manage IPython's bookmark system.

Extended Summary

%bookmark <name> - set bookmark to current dir %bookmark <name> <dir> - set bookmark to <dir> %bookmark -l - list all bookmarks %bookmark -d <name> - remove bookmark %bookmark -r - remove all bookmarks

You can later on access a bookmarked folder with

%cd -b <name>

or simply '%cd <name>' if there is no directory called <name> AND there is such a bookmark defined.

Your bookmarks persist through IPython sessions, but they are associated with each profile.

Aliases

  • IPython.core.magics.OSMagics.bookmark