uio
– Input/output streams¶
This module contains stream
objects that behave like files.
- class BytesIO()¶
- class BytesIO(data)
- class BytesIO(alloc_size)
A binary stream using an in-memory bytes buffer.
- Parameters:
- class StringIO()¶
- class StringIO(string)
- class StringIO(alloc_size)
A stream using an in-memory string buffer.
- Parameters:
- class FileIO¶
This type represents a file opened in binary mode with
open(name, 'rb')
. You should not instantiate this class directly.