code: def main():
      """Show this help"""
      path = fontTools.__path__
      descriptions = {}
      for pkg in sorted(
          mod.name
          for mod in pkgutil.walk_packages(
              [fontTools.__path__[0]], prefix="fontTools."
          )
      ):
          try:
              imports = __import__(pkg, globals(), locals(), ["main"])
          except ImportError as e:
              continue
          try:
              description = imports.main.__doc__
              if description:
                  pkg = pkg.replace("fontTools.", "").replace(
                      ".__main__", ""
                  )
                  # show the docstring's first line only
                  descriptions[pkg] = description.splitlines()[0]
          except AttributeError as e:
              pass
      for pkg, description in descriptions.items():
          print(
              "fonttools %-25s %s" % (pkg, description), file=sys.stderr
          )
  
imports: import pkgutil
  import sys
  import fontTools
  import importlib
  import os
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types