code: def coderelpath(coderoot, relpath):
      
      from os import chdir, getcwd, path
      cd = getcwd()
      chdir(coderoot)
      result = path.abspath(relpath)
      chdir(cd)
      return result
docs: Returns the absolute path of the 'relpath' relative to the specified code directory.