code: def ipy_notebook_exec(path, save_and_norun=None):
      notebook = json.load(codecs.open(path, "r", "utf-8"))
      program = ""
      for block in ipy_code_blocks(notebook):
          for line in ipy_valid_lines(block):
              if "h2o.init" not in line:
                  program += line if "\n" in line else line + "\n"
      if save_and_norun is not None:
          with open(save_and_norun, "w") as f:
              f.write(program)
      else:
          exec(program, dict(__name__="main"))
  
imports: import json
  import codecs
label_desc: Use image node_id 1 for calling a global function with example usage: ipy_notebook_exec(path, save_and_norun) without return types