downloading a CSV

Grant Edwards invalid at invalid.invalid
Fri Feb 19 14:43:01 EST 2016


On 2016-02-19, noydb <jenn.duerr at gmail.com> 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:

    http://gnuwin32.sourceforge.net/packages/wget.htm

Just do this on a command line:

 wget http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv


Curl is another good option:

    https://curl.haxx.se/

Just do this at the command line:

 curl http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv > all_month.csv

-- 
Grant Edwards               grant.b.edwards        Yow! I just had my entire
                                  at               INTESTINAL TRACT coated
                              gmail.com            with TEFLON!


More information about the Python-list mailing list