Robert Dailey wrote:
> Hi,
> 
> I'm looking for a portable way to download ZIP files on the internet
> through Python. I don't want to do os.system() to invoke 'wget', since
> this isn't portable on Windows. I'm hoping the core python library has
> a library for this. Note that I'll be using Python 3.0.
> 
> Thanks.


urllib.urlretrieve(url_of_zip_file, destination_on_local_filesystem).

There's also a third argument you can use to link a progress update
function of your choosing if you need it.


Roger.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to