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


Groups > comp.lang.python > #61772

Re: Downloading file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.077
X-Spam-Evidence '*H*': 0.85; '*S*': 0.01; 'subject:file': 0.07; 'python': 0.11; 'csv': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'wrote:': 0.18; 'example': 0.22; 'header:User-Agent:1': 0.23; 'long,': 0.26; 'header:In-Reply- To:1': 0.27; 'copying': 0.34; 'received:84': 0.35; 'should': 0.36; 'too': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'browser': 0.61; 'direct': 0.67; 'header:Reply-To:1': 0.67; 'skip:w 30': 0.69; 'reply-to:no real name:2**0': 0.71; 'pasting': 0.84; 'reply- to:addr:python.org': 0.84; 'download.': 0.91
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=IvYnLtPg c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=baqLi5_GPZIA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=TiH6Bxblmk4A:10 a=A1X0JdhQAAAA:8 a=nHPoyP8IxyMy-8FXWzMA:9 a=wPNLvfGTeEIA:10 a=SvUMANivXLgA:10 a=wnY6hkDJl1YA:10
X-AUTH mrabarnett:2500
Date Thu, 12 Dec 2013 22:47:29 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Downloading file
References <38c79209-0d75-4360-b0c3-28ab1bd74e61@googlegroups.com>
In-Reply-To <38c79209-0d75-4360-b0c3-28ab1bd74e61@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4039.1386888448.18130.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1386888448 news.xs4all.nl 2916 [2001:888:2000:d::a6]:54340
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61772

Show key headers only | View raw


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".

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


Thread

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

csiph-web