Error handling in Python

Diez B. Roggisch deets at nospam.web.de
Wed May 28 10:06:58 EDT 2008


subhabrata.iisc at hotmail.com wrote:

> Dear Members of the group,
> If I open a url by urlopen in the urllib, the file is either opening a
> file or if no url is there it would give error. The error is generated
> can be handled by IOError handling schemes.
> But if there are thousands or millions of URLs and I do not know who
> will open and who won't open. How can I handle this kind of situation?
> If any one can help solving this problem.

http://docs.python.org/tut/node10.html

Diez



More information about the Python-list mailing list