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


Groups > comp.lang.python > #61750 > unrolled thread

Downloading file

Started byMatt Graves <tunacubes@gmail.com>
First post2013-12-12 12:45 -0800
Last post2013-12-12 22:47 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Downloading file Matt Graves <tunacubes@gmail.com> - 2013-12-12 12:45 -0800
    Re: Downloading file MRAB <python@mrabarnett.plus.com> - 2013-12-12 22:47 +0000

#61750 — Downloading file

FromMatt Graves <tunacubes@gmail.com>
Date2013-12-12 12:45 -0800
SubjectDownloading file
Message-ID<38c79209-0d75-4360-b0c3-28ab1bd74e61@googlegroups.com>
I have direct links to a number of csv files to download. Copying and pasting it to my browser would take too long, how would i go to this site for example and get the file? Right when you go to the site the download should start

www.example.com/files/document.csv

[toc] | [next] | [standalone]


#61772

FromMRAB <python@mrabarnett.plus.com>
Date2013-12-12 22:47 +0000
Message-ID<mailman.4039.1386888448.18130.python-list@python.org>
In reply to#61750
On 12/12/2013 20:45, Matt Graves wrote:
> I have direct links to a number of csv files to download. Copying and pasting it to my browser would take too long, how would i go to this site for example and get the file? Right when you go to the site the download should start
>
> www.example.com/files/document.csv
>
Have a look in the Python docs for "urlretrieve".

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web