code: def main():
      pool = Pool(processes=4)
      candidate_files = [f for f in EXAMPLE_GLOB]
      if not candidate_files:
          raise Exception("No files found to convert")
      subprocess.call("mkdir -p %s" % HTML_DIR, shell=True)
      pool.map(create_rst, candidate_files)
  
file_path: deck.gl/bindings/pydeck/docs/scripts/embed_examples.py
imports: from multiprocessing import Pool
  import os
  import subprocess
  import sys
  from const import DECKGL_URL_BASE, EXAMPLE_GLOB, GALLERY_DIR, HTML_DIR, HOSTED_STATIC_PATH
  from utils import to_presentation_name, to_snake_case_string
  from templates import DOC_TEMPLATE
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types