Problem with python array's...

MangoMan mangoman at kitsuneaye.co.uk
Sat Oct 11 13:04:18 EDT 2003


On Fri, 10 Oct 2003 22:45:32 +0000, Alex Martelli wrote:
> Hmmm -- are the len(...) of the three arrays zero at this point?
> The fromfile method appends what it reads to what was already
> in the array, rather than overwriting it -- and I don't see your code
> emptying out these arrays nor checking them for 0 length...
> 
> Alex

Alex,
It turns out i was not cleaning up the buffer's properly when i deleted
the instance of my object (thus causing any new instances to screw up the
buffer)

Thanks =)
-MangoMan





More information about the Python-list mailing list