Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: downloading a CSV Date: Fri, 19 Feb 2016 19:43:01 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 29 Message-ID: References: <1efa02db-a26a-44bd-a0ea-db81e612ccd6@googlegroups.com> NNTP-Posting-Host: 67-130-15-94.dia.static.qwest.net X-Trace: reader1.panix.com 1455910981 16450 67.130.15.94 (19 Feb 2016 19:43:01 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 19 Feb 2016 19:43:01 +0000 (UTC) User-Agent: slrn/1.0.2 (Linux) Xref: csiph.com comp.lang.python:103222 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: 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!