MCPcopy Create free account
hub / github.com/ipython/ipython / slide

Function slide

IPython/lib/demo.py:634–647  ·  view source on GitHub ↗
(file_path, noclear=False, format_rst=True, formatter="terminal",
          style="native", auto_all=False, delimiter='...')

Source from the content-addressed store, hash-verified

632
633
634def slide(file_path, noclear=False, format_rst=True, formatter="terminal",
635 style="native", auto_all=False, delimiter='...'):
636 if noclear:
637 demo_class = Demo
638 else:
639 demo_class = ClearDemo
640 demo = demo_class(file_path, format_rst=format_rst, formatter=formatter,
641 style=style, auto_all=auto_all)
642 while not demo.finished:
643 demo()
644 try:
645 py3compat.input('\n' + delimiter)
646 except KeyboardInterrupt:
647 exit(1)
648
649if __name__ == '__main__':
650 import argparse

Callers 1

demo.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected