title: How do I write a unix filter in python?
body: <p>I want to write a program that reads stdin (unbuffered) and writes stdout (unbuffered) doing some trivial char-by-char transformation. For the sake of the example let's say I want to remove all chars <code>x</code> from stdin.</p>