[Tutor] urllib.urlretrieve ?

Matthew Ngaha chigga101 at gmail.com
Sun Apr 7 20:49:58 CEST 2013


yeah, sadly urlretrieve doesnt exist on my version of python. i just
need a function to put in the same line that replaces this one with
the same arguments in order to see the results of my tutorial.

urllib.urlretrieve(self._url, self._filename, reporthook)

On Sun, Apr 7, 2013 at 7:10 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> On 07/04/13 17:20, Matthew Ngaha wrote:
>>>
>>> Look in the module docs for urlib.request.
>>>
>>
>> Hi. Ive never used the urllib before
>
>
> In Python 3 urllib combines (the best) features of
> urllib and urllib2 from Python 2.
>
>
>> web programming. I'm looking at the urllib.request page and i really
>> don't understand what i'm looking at. I'm confused as to what i should
>> be looking for.
>
>
> You were asking about urllib.urlretrieve.
> It's documented on that page.
>
> Now, beyond that, what else are you confused about?
> The more specific the question the more specific the answer.
>
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor


More information about the Tutor mailing list