Re: Regarding exception handling
From: Aggelos I. Orfanakos (aorfanakos_at_gmail.com)
Date: 01/31/05
- Next message: Chris Weisiger: "PyGame not working(?) (was: trouble installing numeric)"
- Previous message: mike: "Microsoft Visual C++ and pyton"
- In reply to: beliavsky_at_aol.com: "Re: Regarding exception handling"
- Next in thread: Dan Perl: "Re: Regarding exception handling"
- Reply: Dan Perl: "Re: Regarding exception handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jan 2005 15:19:39 -0800
Thanks. This should now be OK:
#try:
# try:
# s = ... # socket opens
#
# # various code ...
# except socket.error, x:
# # exception handling
#finally:
# s.close() # socket closes
- Next message: Chris Weisiger: "PyGame not working(?) (was: trouble installing numeric)"
- Previous message: mike: "Microsoft Visual C++ and pyton"
- In reply to: beliavsky_at_aol.com: "Re: Regarding exception handling"
- Next in thread: Dan Perl: "Re: Regarding exception handling"
- Reply: Dan Perl: "Re: Regarding exception handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]