kernel.core.magic

Module: kernel.core.magic

Inheritance diagram for IPython.kernel.core.magic:

Magic

class IPython.kernel.core.magic.Magic(interpreter, config=None)

Bases: object

An object that maintains magic functions.

__init__(interpreter, config=None)
has_magic(name)

Return True if this object provides a given magic.

Parameters:name : str
magic_env(parameter_s='')
List environment variables.
magic_pwd(parameter_s='')
Return the current working directory path.
object_find(name)

Find an object in the available namespaces.

fixme: this should probably be moved elsewhere. The interpreter?