How to Handle exceptions using OpenerDirector

swarna pulavarty swarnapsv at yahoo.co.in
Tue Sep 20 19:14:09 CEST 2005


Hi all, 
 
 I am trying to figure out a way to handle exceptions for error code 4xx , and 5xx 's . I came to know that these can be handled using OpenerDirector class and urllib2 module in Python. I could'nt find the right syntax or examples of how to use these Handlers.
 
Any help is greatly appreciated !
 
 
Swarna.


		
---------------------------------
 Yahoo! India Matrimony: Find your partner now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050920/ffc7e6f8/attachment.html>


More information about the Python-list mailing list