Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    In Python 3, urllib.request.urlretrieve should work. Can you post some of your code? Commented Aug 11, 2014 at 18:58
  • @hlt, it does not. you need from urllib import request Commented Aug 11, 2014 at 19:02
  • import urllib.request and then urllib.request.urlretrieve works perfectly fine on my 3.4.1 Commented Aug 11, 2014 at 19:04
  • @hlt, I missed the second part of the scrambled text, I thought the OP only had an import urllib but I imagine the urllib.request.urlretrieve was not combined with the correct import statement Commented Aug 11, 2014 at 19:08
  • 1
    @rain, you did not write it correctly this morning, python does not have off days ;) Commented Aug 11, 2014 at 19:11