> block. Is there any better way to get the HTTP Error code using urllib2
> lib. Something like know the exact response number (200, 404 etc) without
> the above block.
Python libraries usually throw exceptions to indicate error conditions.
If this is a problem in your app then can write a wra
Hi
I could get the HTTP error code using
try:
..
except:
..
else:
block. Is there any better way to get the HTTP Error code using urllib2
lib. Something like know the exact response number (200, 404 etc) without
the above block.
Regards
Alok Kumar
--
http://mail.python.org/mailman/listinfo/pyt