[Tutor] Downloading Files from the net

Kent Johnson kent37 at tds.net
Mon Sep 29 12:39:14 CEST 2008

On Mon, Sep 29, 2008 at 4:32 AM, Timo <timovwb at gmail.com> wrote:
> Kent Johnson schreef:

>> urllib.urlretrieve() will do it if you don't need anything fancy like
>> authentication.
>> Kent
> Ok thanks, this works! And this would be the best way to do it? Also some
> larger, around 100-200mb, files?

It will work with any file that will fit on disk - the input is
buffered and saved to disk as it is read, it doesn't read the whole
URL at once.


More information about the Tutor mailing list