Equivalent of 'wget' for python?

Jerry Hill malaclypse2 at gmail.com
Mon Dec 8 12:54:46 EST 2008


On Mon, Dec 8, 2008 at 11:53 AM, r0g <aioe.org at technicalbloke.com> wrote:
> urllib.urlretrieve(url_of_zip_file, destination_on_local_filesystem).

In python 3.0, that appears to be:

import urllib.request
urllib.request.urlretrieve(url, local_file_name)

-- 
Jerry



More information about the Python-list mailing list