import requests import zipfile import os
# Save the file with open('config_sahela.zip', 'wb') as file: file.write(response.content)
# List the extracted files print(os.listdir()) :
# Assuming you have the URL url = 'http://example.com/config_sahela.zip' response = requests.get(url)
# Save or use the preprocessed feature
# Extract the file with zipfile.ZipFile('config_sahela.zip', 'r') as zip_ref: zip_ref.extractall()