On Fri, Feb 19, 2016 at 3:05 PM, noydb <jenn.du...@gmail.com> 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.request.urlretrieve(url, csv_file) > > I do want to use python -- there's much more I need to do with the file > after downloading. > -- > https://mail.python.org/mailman/listinfo/python-list >
You might look at the Requests library. Its third party, but easier to understand and use than urllib -- Joel Goldstick http://joelgoldstick.com/ <http://joelgoldstick.com/stats/birthdays> http://cc-baseballstats.info/ -- https://mail.python.org/mailman/listinfo/python-list