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

Method run_cell

IPython/lib/demo.py:555–558  ·  view source on GitHub ↗

Execute a string with one or more lines of code

(self,source)

Source from the content-addressed store, hash-verified

553 """
554
555 def run_cell(self,source):
556 """Execute a string with one or more lines of code"""
557
558 self.shell.run_cell(source)
559
560class LineDemo(Demo):
561 """Demo where each line is executed as a separate block.

Callers

nothing calls this directly

Calls 1

run_cellMethod · 0.45

Tested by

no test coverage detected