Here's the same clip, but run in the command line interpreter. The error gives a little more info.
>>> try: ... fsock = open('/notthere') ... except IOError: ... print 'The file does not exist, exiting gracefully' ... print 'This line will always print' File "<stdin>", line 5 print 'This line will always print' ^ SyntaxError: invalid syntax >>> Thanks, David Holt [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list