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:
Component
initializes x; see x.__class__.__doc__ for signature
- channel = 'file'¶
- init(filename, mode='r', bufsize=4096, encoding=None, channel='file')¶
- property closed¶
- property filename¶
- property mode¶
- close()¶
- seek(offset, whence=0)¶
- write(data)¶