code: def main(version, prevversion, outdir):
      """
      Print authors text to put at the bottom of the release notes
      """
      outdir = Path(outdir)
      authors, authorcount, newauthorcount = get_authors(
          version, prevversion
      )
  
      authors_text = f"""## Authors
  
  The following people contributed at least one patch to this release (names are
  given in alphabetical order by last name). A total of {authorcount} people
  contributed to this release. People with a * by their names contributed a
  patch for the first time for this release; {newauthorcount} people contributed
  for the first time for this release.
  
  Thanks to everyone who contributed to this release!
  """
  
      authors_lines = []
      for name in authors:
          authors_lines.append("- " + name)
  
      authors_text += "\n".join(authors_lines)
  
      # Output to file and to screen
      with open(outdir / "authors.txt", "w") as authorsfile:
          authorsfile.write(authors_text)
  
      print()
      print(
          blue(
              "Here are the authors to put at the bottom of the release notes."
          )
      )
      print()
      print(authors_text)
  
file_path: sympy/release/authors.py
imports: import os
  from pathlib import Path
  from subprocess import check_output
  import unicodedata
label_desc: Use image node_id 1 for calling a global function with example usage: main(version, prevversion, outdir) without return types