Read-Sensor-Resistances/ESP32Driver.py

13 lines
376 B
Python
Raw Normal View History

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)
with ZipFile('ESP32driver', 'r') as zipObj:
zipObj.extractall('C:\\Users\\akash\\Downloads\\ESP32driver')