Table of Contents

Class: Diversion em.py

The representation of an active diversion. Diversions act as (writable) file objects, and then can be recalled either as pure strings or (readable) file objects.

Methods   
__init__
asFile
asString
close
flush
write
writelines
  __init__ 
__init__ ( self )

  asFile 
asFile ( self )

Return the diversion as a file.

  asString 
asString ( self )

Return the diversion as a string.

  close 
close ( self )

  flush 
flush ( self )

  write 
write ( self,  data )

  writelines 
writelines ( self,  lines )


Table of Contents

This document was automatically generated on Mon Oct 27 01:29:13 2003 by HappyDoc version 2.1