Problem using urllib to download images

tstrogen at googlemail.com tstrogen at googlemail.com
Mon Nov 3 19:57:41 CET 2008


> That's because you downloaded some HTML and saved it in a file named
> logo.gif.  That's unlikely to work in any image viewing program.  Try
> opening the file you downloaded in a text editor and you'll see.
>
> --
> Jerry

Aha, so the first param is the file, and second is the name you save
the files as. Thankyou, for pointing out my stupid mistake. I was
confused by trying to replicate a program called 'comicdownloader.py'
off of uselesspython.com. I thought that the first param was the page
containing the file, and the second was the file. And that the file
would simply be saved as it's name on the website. Thanks again.
-Taidgh



More information about the Python-list mailing list