"Bryan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> if i really want to handle the exception, then i handle it at a
conceptually
> "higher" level by wrapping it in an exception which is basically what some
> higher-level routine would do anyways.
>
>
> try:
>      f = open('file)
>      try:
>          # do something
>      finally:
>          f.close()
> except IOError:
>      # handle exceptions
>
I like this idea also. Thanks to all who helped me understand..
Louis


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to