From 4f940ecc4006b88c55351be222250bc5a3fd133b Mon Sep 17 00:00:00 2001 From: indohito <107958888+indohito@users.noreply.github.com> Date: Tue, 16 Aug 2022 13:51:21 -0700 Subject: [PATCH] Add files via upload --- main.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..32e6f25 --- /dev/null +++ b/main.py @@ -0,0 +1,12 @@ +# This is a sample Python script. +import requests +from zipfile import ZipFile +URL = "https://www.silabs.com/documents/public/software/CP210x_Universal_Windows_Driver.zip" + +response = requests.get(URL) + +open('ESP32driver', 'wb').write(response.content) + +with ZipFile('ESP32driver', 'r') as zipObj: + zipObj.extractall('C:\\Users\\akash\\Downloads\\ESP32driver') +