code: def script_name(code, default=KeyError):
      """Return the long, human-readable script name given a four-letter
      Unicode script code.
  
      If no matching name is found, a KeyError is raised by default.
  
      You can use the 'default' argument to return a fallback value (e.g.
      'Unknown' or None) instead of throwing an error.
      """
      try:
          return str(Scripts.NAMES[code].replace("_", " "))
      except KeyError:
          if isinstance(default, type) and issubclass(
              default, KeyError
          ):
              raise
          return default
  
file_path: catboost/contrib/python/fonttools/fontTools/unicodedata/__init__.py
imports: from __future__ import annotations
  from fontTools.misc.textTools import byteord, tostr
  import re
  from bisect import bisect_right
  from typing import Literal, TypeVar, overload
  from .None import Blocks, Scripts, ScriptExtensions, OTTags
label_desc: Use image node_id 3 for calling a global function with example usage: script_name(code, default) and returns: str, default