Add files via upload

This commit is contained in:
indohito 2022-08-16 13:51:21 -07:00 committed by GitHub
parent c8dcddd2b5
commit 4f940ecc40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
main.py Normal file
View File

@ -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')