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'))
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Mar 14 15:21:06 2016 | http://epydoc.sourceforge.net |