How to download a file from an HTTP server given the URL?

J. W. McCall jmccall at
Thu Jun 17 08:12:45 CEST 2004

Hopefully a simple question: how do I download a file (jpg image) to my 
hard drive from a website assuming I have its (the image's) URL?  I 
tried urllib.urlretrieve() and it's not working.  I'm relatively new to 
Python, so I'm probably make a dumb mistake or looking in the wrong place.

Any help would be appreciated.


J. W. McCall

More information about the Python-list mailing list