Simple instructions on how to programmatically download an image from a web page?
matt at pollenation.net
Thu Nov 27 10:04:28 CET 2003
>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()
Matt Goodall, Pollenation Internet Ltd
e: matt at pollenation.net
More information about the Python-list