coding style - try, except
blank at empty.blank
Wed Feb 25 20:12:01 CET 2009
I'm glad I asked :)
Thanks all who posted for your replies, the else-statement is a nice
Python again comes through to deal with those pesky feelings that
something could be better :)
Chris Rebert wrote:
> Yes. try-except-*else*.
> print "Houston, we have a problem"
> else: #runs only if no exception was thrown
More information about the Python-list