Execute a string with one or more lines of code
(self,source)
| 445 | sys.stdout.flush() |
| 446 | |
| 447 | def run_cell(self,source): |
| 448 | """Execute a string with one or more lines of code""" |
| 449 | |
| 450 | exec(source, self.user_ns) |
| 451 | |
| 452 | def __call__(self,index=None): |
| 453 | """run a block of the demo. |
no outgoing calls