Developer Interface

Download File

lazymyles.download_file(url: str, output_path: Union[Path, str], file_name: Optional[str] = None) Path

Download a file.

Parameters:
  • url (str) – The URL of the file you want to download.

  • output_path (Path or str) – The directory you want to output the file to.

  • file_name (str) – The name of the file you want the output to be.

Return type:

Path