Skip Montanaro wrote: > How about: > > class nullFile: > def _null(self, *args, **kwds): > pass > > def __getattr__(self, name): > return self._null Hi, Unless I'm misunderstanding your code, this object is not going to give me a legitimate file descriptor that I can pass to another program. -John -- http:// if ile.org/