$ python Python 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> try: ... print int("A") ... finally: ... print "hello world" ... hello world Traceback (most recent call last): File "", line 2, in ValueError: invalid literal for int() with base 10: 'A' >>>