By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,996 Members | 1,536 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,996 IT Pros & Developers. It's quick & easy.

Error handling in Python

P: n/a
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.
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
su*************@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
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.