def _create_out_folder(input_folder):
  """Creates the output folder, erasing it if existed."""
  out_folder = os.path.abspath(input_folder).removesuffix('.zip') + '_arXiv'
  _create_dir_erase_if_exists(out_folder)

  return out_folder
Creates the output folder, erasing it if existed.
arxiv_latex_cleaner/arxiv_latex_cleaner.py