docstr: Reset the namespace and seek pointer to restart the demo
docstr_tok: ["Reset","the","namespace","and","seek","pointer","to","restart","the","demo"]
code: def reset(self):
      """Reset the namespace and seek pointer to restart the demo"""
      self.user_ns = {}
      self.finished = False
      self.block_index = 0
  
imports: import os
  import re
  import shlex
  import sys
  import pygments
  from pathlib import Path
  from IPython.utils.text import marquee
  from IPython.utils import openpy
  from IPython.utils import py3compat
label_desc: Use image node_id 4 for calling the Demo obj's underlying member method code with example usage: obj.reset() without return types