Publisher review:General purpose file iterator class presents a general purpose file object iterator. This script presents a general purpose file object iterator cum file object proxy class.
It provides a class that gives several iterator functions to read a text file by characters, words, lines, paragraphs or blocks. It also acts as a proxy for the wrapped file object. ts as a pOne way to do it is by subtyping the "file" type and implementing the methods in the new type. However this recipe uses the aggregator cum proxy design pattern. It aggregates an open file object and defines iterator methods on top of it. However, unresolved methods are proxied to the wrapped file object, so you can use the iterator object to perform operations on the file object directly, as shown in the examples.
General purpose file iterator class 1.0 is a Python script for File Management scripts design by Anand Pillai.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris