The proxy file object that is intended to take the place of
sys.stdout. The proxy can manage a stack of file objects it is
writing to, and an underlying raw file object.
Methods
|
|
|
|
__init__
|
__init__ ( self, bottom )
|
|
_testProxy
|
_testProxy ( self )
|
|
clear
|
clear ( self, interpreter )
|
|
close
|
close ( self )
Close the current file. If the current file is the bottom, then
close it and dispose of it.
|
|
current
|
current ( self )
Get the current stream to write to.
|
|
flush
|
flush ( self )
|
|
pop
|
pop ( self, interpreter )
|
|
push
|
push ( self, interpreter )
|
|
write
|
write ( self, data )
|
|
writelines
|
writelines ( self, lines )
|
|