Error handling in Python

subhabrata.iisc at hotmail.com subhabrata.iisc at hotmail.com
Wed May 28 09:59:28 EDT 2008


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.
Regards,
Subhabrata.



More information about the Python-list mailing list