Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Error handling in Python

Reply
Thread Tools

Error handling in Python

 
 
subhabrata.iisc@hotmail.com
Guest
Posts: n/a
 
      05-28-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.
 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      05-28-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
signal handling and (structured) exception handling Peter C++ 34 10-17-2009 10:03 AM
python list handling and Lisp list handling Mark Tarver Python 22 04-26-2009 09:36 PM
Is faster handling hexadecimal values than handling chars? IƱaki Baz Castillo Ruby 1 04-15-2008 09:04 AM
Error handling. Python embedded into a C++ app. Wolfram Python 3 12-02-2006 01:14 PM
error handling in Python beliavsky@aol.com Python 3 05-05-2004 11:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57