On 2016-02-19 10:46, noydb wrote:
> I want to be able to download this CSV file and save to disk
> >> http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv
from urllib.request import urlopen
data =
urlopen("http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.c
On Fri, Feb 19, 2016 at 3:05 PM, noydb wrote:
> Thanks! That was pretty easy.
>
> import urllib.request
> url = '
> http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv'
> urllib.request.urlretrieve(url, csv_file)
> csv_file = r"C:\Temp\earthquakeAll_last30days.csv"
> urllib.re
Thanks! That was pretty easy.
import urllib.request
url = 'http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv'
urllib.request.urlretrieve(url, csv_file)
csv_file = r"C:\Temp\earthquakeAll_last30days.csv"
urllib.request.urlretrieve(url, csv_file)
I do want to use python -- the
On 2016-02-19, noydb wrote:
> Greetings All,
>
> Python v 3.4, windows
>
> I want to be able to download this CSV file and save to disk
>>> http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv
Unless you really want to write a Python program, "wget" is a good solution:
htt
On 2016-02-19 18:46, noydb wrote:
Greetings All,
Python v 3.4, windows
I want to be able to download this CSV file and save to disk
http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv
This (interacting with the web using python) is very new to me, so can anyone
provide di
Greetings All,
Python v 3.4, windows
I want to be able to download this CSV file and save to disk
>> http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv
This (interacting with the web using python) is very new to me, so can anyone
provide direction on how to go about doing t