circuits.io.file module
File I/O
This module implements a wrapper for basic File I/O.
-
class circuits.io.file.File(*args, **kwargs)
Bases: circuits.core.components.Component
initializes x; see x.__class__.__doc__ for signature
-
channel = 'file'
-
init(filename, mode='r', bufsize=4096, encoding=None, channel='file')
-
closed
-
filename
-
mode
-
close()
-
seek(offset, whence=0)
-
write(data)