{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / page / page

function

IPython.core.page:page

source: /dev/ipython/IPython/core/page.py:238

Signature

def page(data, start: int = 0, screen_lines: int = 0, pager_cmd = None)

Summary

Display content in a pager, piping through a pager after a certain length.

Extended Summary

data can be a mime-bundle dict, supplying multiple representations, keyed by mime-type, or text.

Pager is dispatched via the show_in_pager IPython hook. If no hook is registered, pager_page will be used.

Aliases

  • IPython.core.page.page