File-like filter pattern?

Martin v. Löwis martin at v.loewis.de
Wed Dec 18 04:49:08 EST 2002


Erik Max Francis <max at alcyone.com> writes:

> Is there a commonly accepted pattern for implementing file-like filters
> in Python?

Codecs work this way, see codecs.StreamReader and codecs.StreamWriter.

Regards,
Martin



More information about the Python-list mailing list