2022-08-16 20:51:21 +00:00
|
|
|
# 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)
|
2022-08-16 20:52:40 +00:00
|
|
|
# need to change user destination figure out how to get it to downloads
|
2022-08-16 20:51:21 +00:00
|
|
|
with ZipFile('ESP32driver', 'r') as zipObj:
|
|
|
|
zipObj.extractall('C:\\Users\\akash\\Downloads\\ESP32driver')
|
|
|
|
|