def __iter__(self):
frames = self.all_frames<EOL>if len(frames) == <NUM_LIT:0>:<EOL><INDENT>self.extract()<EOL>frames = self.all_frames<EOL><DEDENT>for i in xrange(len(frames)):<EOL><INDENT>self.framenumber = i<EOL>yield self.current_framename<EOL><DEDENT>self.totalframes += len(frames)<EOL>
Primitive iterator.