### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# Module: `core.macro`

Support for interactive macros in IPython

## 1 Class

class `IPython.core.macro.``Macro`(code)

  Bases: `object`

  Simple class to store the value of macros as strings.

  Macro is just a callable that executes a string of IPython input when called.

  `__init__`(code)

    store the macro value, as a single string which can be executed

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »