What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-16 20:30:14
pydrive download by url
import requests def download_file_from_google_drive(id, destination): URL = "https://docs.google.com/uc?export=download" session = requests.Session() response = session.get(URL, params = { 'id' : id }, stream = True) token = g... Add solution -
Python 2022-02-02 21:20:13
pandas read csv from url
import csv import requests CSV_URL = 'http://samplecsvs.s3.amazonaws.com/Sacramentorealestatetransactions.csv' with requests.Session() as s: download = s.get(CSV_URL) decoded_content = download.content.decode('utf-8') cr = csv.reader(decod... Add solution -
Python 2022-01-26 13:00:44
How to use open weather weather api for pytho
# importing requests and json import requests, json # base URL BASE_URL = "https://api.openweathermap.org/data/2.5/weather?" # City Name CITY = "Hyderabad" # API key API_KEY = "Your API Key" # upadting the URL URL = BASE_URL ... Add solution