Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

urllib.request.urlretrieve

Name: Anonymous 2010-09-12 13:28

/prog/ care to explain?
this works

import urllib.request
import urllib.parse
urllib.request.urlretrieve("http://dis.4chan.org/prog/","test.txt")

this doesn't

import urllib.request
import urllib.parse
urllib.request.urlretrieve("http://en.wikipedia.org/wiki/Lemon","test.txt")

Name: Anonymous 2010-09-12 17:29

Firstly, I agree with >>4, always post the full transcript if you want real help
Secondly, it just looks like a bug, but I don't really care to look into it. You'll probably get a real answer if you post it on comp.lang.python

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List