Re: [Tutor] Downloading Files from the net

2008-09-29 Thread Kent Johnson
On Mon, Sep 29, 2008 at 4:32 AM, Timo <[EMAIL PROTECTED]> 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-200m

Re: [Tutor] Downloading Files from the net

2008-09-29 Thread Timo
Kent Johnson schreef: On Sun, Sep 28, 2008 at 12:51 PM, Timo <[EMAIL PROTECTED]> 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.

Re: [Tutor] Downloading Files from the net

2008-09-29 Thread Timo
Mark Tolonen schreef: "Timo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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.

Re: [Tutor] Downloading Files from the net

2008-09-28 Thread Kent Johnson
On Sun, Sep 28, 2008 at 12:51 PM, Timo <[EMAIL PROTECTED]> 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.urlretrie

Re: [Tutor] Downloading Files from the net

2008-09-28 Thread Mark Tolonen
"Timo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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. Quick and dirty, if e

[Tutor] Downloading Files from the net

2008-09-28 Thread Timo
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. Cheers ___ Tutor maillist - Tutor@python.or