Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103222

Re: downloading a CSV

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 <invalid@invalid.invalid>
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 <na7r85$g22$1@reader1.panix.com> (permalink)
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

Show key headers only | View raw


On 2016-02-19, noydb <jenn.duerr@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!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

downloading a CSV noydb <jenn.duerr@gmail.com> - 2016-02-19 10:46 -0800
  Re: downloading a CSV MRAB <python@mrabarnett.plus.com> - 2016-02-19 19:24 +0000
  Re: downloading a CSV Grant Edwards <invalid@invalid.invalid> - 2016-02-19 19:43 +0000
  Re: downloading a CSV noydb <jenn.duerr@gmail.com> - 2016-02-19 12:05 -0800
    Re: downloading a CSV Joel Goldstick <joel.goldstick@gmail.com> - 2016-02-19 16:03 -0500
  Re: downloading a CSV Tim Chase <python.list@tim.thechases.com> - 2016-02-19 18:47 -0600

csiph-web