Simple instructions on how to programmatically download an image from a web page?
Matt Goodall
matt at pollenation.net
Thu Nov 27 04:04:28 EST 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
>http://groups.google.com/images/threadview_logo.gif should be pretty
>easy, guess not?
>
>
>>> import urllib
>>> data = urllib.urlopen(imageUrl).read()
Cheers, Matt
--
Matt Goodall, Pollenation Internet Ltd
w: http://www.pollenation.net
e: matt at pollenation.net
More information about the Python-list
mailing list