Weird import behavior

Tommytrojan hauck at gseos.com
Tue Oct 25 14:30:49 EDT 2005


Duncan,

thanks for your quick reply. I guess I should have included the output.
I thought I was clear in the error description.
The problem is that I never assign to 'string'. I only reference it (as
the error message correctly states). If you comment out the import
statement in the except clause the program runs fine. Now notice that
the exception hander never gets executed! Any explanation?




More information about the Python-list mailing list