Try except - bug?
Rene Pijlman
reply.in.the.newsgroup at my.address.is.invalid
Tue Dec 30 12:26:08 EST 2003
Askari:
>but I can't understand why doesn't work in my program :
> http://www.cvm.qc.ca/9974331/Temp/crypte.py
[...]
>when I run my program, I have this error :
>============
>Traceback (most recent call last):
> File "C:\Documents and Settings\Assembleur_Man\Bureau\Crypte.py",
>line 355, in crypte
^^^
> fileDest.close()
>NameError: global name 'fileDest' is not defined
>============
That's strange, because there is no fileDest.close() on line 355. Are you
sure the message and the code you are showing us correspond?
--
René Pijlman
More information about the Python-list
mailing list