

The logs are displayed on stderr to highlight the progress of the script. init_log – Initializes the logger, instead of using print function to track what the script is doing logger is used.The following is the breakdown of what the functions do: The current script only downloads geckodriver for windows, this is a precursor for my future work to include downloads for machintosh and linux, hence the OS type function still identifies linux and mac other than windows.

I am writing a python script that uses requests module to download the latest release of geckodriver.exe for windows 64-bit, I added a few functions to make the download slightly more dynamic by identifying the OS type and the system architecture, and after downloaded unzip the package into the defined path I specified.
