Skip to content

Instantly share code, notes, and snippets.

Last active October 21, 2021 19:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
import os
import requests
import zipfile
if export.status == "Done":
# Éxito, ahora podemos descargarlo
export_file = requests.get(export.download_uri)
with open("", "wb") as file:
# Descomprime la exportación descargada
if not os.path.exists("./model"):
zip_ref = zipfile.ZipFile("", 'r')
print("Data extracted in: ./model")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment