Hi Danny, That's nice. I do think I'm going this way
I don't want the container to grow too big in memory, not bigger than 1k elements(it is a cache), but when deleting an element I need it to be the oldest files (again, because it is a cache) Thanks for the advice, I'm going this way. My OOP skills *are* sloppy... Hugo Danny Yoo wrote: > >>I defined an object wich describes a video clip, like this >> >>class VideoSegment: >> def __init__(self, filename): >> # Attributes that have to be present >> self.filename = filename > > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor