code: def run():
      with progress:
          widths_table = make_widths_table()
          test(widths_table)
      table_file = f"""# Auto generated by make_terminal_widths.py
  
  CELL_WIDTHS = {widths_table!r}
  
  """
      with open("../rich/_cell_widths.py", "wt") as fh:
          fh.write(table_file)
  
      subprocess.run("black ../rich/_cell_widths.py", shell=True)
  
file_path: rich/tools/make_terminal_widths.py
imports: import subprocess
  from typing import List, Tuple
  import sys
  from rich.progress import Progress
  from wcwidth import wcwidth
label_desc: Use image node_id 4 for calling a global function with example usage: run() without return types