[Tutor] Downloading Files from the net
timovwb at gmail.com
Mon Sep 29 10:32:09 CEST 2008
Kent Johnson schreef:
> On Sun, Sep 28, 2008 at 12:51 PM, Timo <timovwb at gmail.com> wrote:
>> What is the best/correct way to download files from a webpage?
>> www.example.com/example.mp3 for instance.
>> I know how to open the site (with urllib), but have no idea how to write the
>> file to the harddisk.
> urllib.urlretrieve() will do it if you don't need anything fancy like
Ok thanks, this works! And this would be the best way to do it? Also
some larger, around 100-200mb, files?
More information about the Tutor