[EMAIL PROTECTED] wrote:

> import urllib
> f = urllib.urlopen('http://en.wikipedia.org/wiki/Cain')
> data = f.read(9999999)
> f.close()
> f1 = open('junk.txt', 'w')
> f1.write(data)
> f1.close()

Did you see the file "junk.txt"? It's an error page from Wikipedia, not
the actual content page...

Regards,

-- 
.   Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


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

Reply via email to