try...except...else...finally

>>> try:
>>>     a = 1 / 0
>>> except Exception, e
>>>     print 'oops: %s' % e

missing ":"
>>> except Exception, e:

Reply via email to