Re: newbie question about confusing exception handling in urllib

2013-04-09 Thread cabbar
Ah, looks better. But, 2 questions: 1. I should also catch ConnectionResetError I am guessing. 2. How do I handle all other exceptions, just say Exception: and handle them? I want to silently ignore them. Thanks... On Tuesday, April 9, 2013 2:41:51 PM UTC+3, cab...@gmail.com wrote: > Hi, > >

newbie question about confusing exception handling in urllib

2013-04-09 Thread cabbar
Hi, I have been using Java/Perl professionally for many years and have been trying to learn python3 recently. As my first program, I tried writing a class for a small project, and I am having really hard time understanding exception handling in urllib and in python in general... Basically, what