Hello All,

           Problem in storing values in data-structures


Hello All,


I'm trying to store values into data structures, specifically lists. I've
tried to use Append() method to append new values in my list as always. But
as far as I know, when I run the controller, it just store values one time.

An example:

packet = event.parsed
mem = [ ]
mem.append(packet)

print "\nMEM:\n"
    for item in mem:
        print "\n Length of list:", len(memoize)


It will return: Length of list: 1  all time.


Am I doing something wrong?


Cheers,
Marcus.

Reply via email to