Exception handling with NameError

Peter Otten __peter__ at web.de
Sat Nov 6 11:23:37 CET 2010


Dennis Lee Bieber wrote:

>> The problem I am having is this: If I do:
>>
>> K = []
>> ARCHIVE = []
>> ARCHIVE.append(K)
>>
>> any time K is updated (user submits new input) the content of ARCHIVE
>> is erased:
>>
> No, it is NOT erased... It is MUTATED...

But he rebinds the ARCHIVE name. 




More information about the Python-list mailing list