Simple instructions on how to programmatically download an image from a web page?

Matt Goodall matt at
Thu Nov 27 10:04:28 CET 2003

Y2KYZFR1 wrote:

>I have search the group and not found a working example on how to
>simply download a .gif from a url.
I guess you didn't think to search the documentation too ;-).

>something as simple as
> should be pretty
>easy, guess not?
 >>> import urllib
 >>> data = urllib.urlopen(imageUrl).read()

Cheers, Matt

Matt Goodall, Pollenation Internet Ltd
e: matt at

More information about the Python-list mailing list