MCPcopy Index your code
hub / github.com/ipython/ipython / run_cell

Method run_cell

IPython/lib/demo.py:556–559  ·  view source on GitHub ↗

Execute a string with one or more lines of code

(self,source)

Source from the content-addressed store, hash-verified

554 """
555
556 def run_cell(self,source):
557 """Execute a string with one or more lines of code"""
558
559 self.shell.run_cell(source)
560
561class LineDemo(Demo):
562 """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