code: def _nbexec_notebook_path(opdef):
      argv = util.shlex_split(opdef.main)
      assert argv and argv[0] == "guild.plugins.nbexec", (
          opdef.main,
          argv,
      )
      if len(argv) > 1:
          return os.path.join(opdef.guildfile.dir, argv[1])
      return None
  
imports: import ast
  import json
  import logging
  import os
  import re
  from guild import config
  from guild import guildfile
  from guild import model
  from guild import plugin
  from guild import python_util
  from guild import util
  from .None import flags_import_util
label_desc: Use image node_id 6 for calling a global function with example usage: _nbexec_notebook_path(opdef) and returns: None, os