Execute a string with one or more lines of code
(self,source)
| 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 | |
| 561 | class LineDemo(Demo): |
| 562 | """Demo where each line is executed as a separate block. |