On Sat, 24 Jun 2006, Mat Schaffer wrote:

> Can you explain why you have STDIN.reopen(open(__FILE__)) there?
> It's really baffling me.  I can't figure out just what it's doing.
> -Mat

james had said in the original message that his 'wrapper' was doing some
things like munging STDIN - this is simply doing that: in this case STDIN is
redirected to read the file itself.  it could just as well be

   STDIN.reopen(open('alternate.stdin'))

regards.

-a
-- 
suffering increases your inner strength.  also, the wishing for suffering
makes the suffering disappear.
- h.h. the 14th dali lama