[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I use urlretrieve to retrieve resources from a http server.
> Can you please tell me how can I get the HTTP error (whenever
> happens)?
> 
> And what kind of different exception urlretrieve will throw? e.g.
> unknown host? connection timeout? HTTP error?

I think <http://www.python.org/doc//lib/module-urllib.html> gives good
information about these issues.


Alex


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

Reply via email to