| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MultiWriter
Wraps multiple file-like objects so that they all may be written at once. For example, the following code arranges to have anything written to sys.stdout go to sys.stdout and to a temporary file:
import sys from grizzled.io import MultiWriter sys.stdout = MultiWriter(sys.__stdout__, open('/tmp/log', 'w'))
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Jan 4 20:34:14 2009 | http://epydoc.sourceforge.net |