encodings.utf_8_sig.StreamWriter

class encodings.utf_8_sig.StreamWriter(stream, errors='strict')[source]

Methods

__enter__()
__exit__(type, value, tb)
__getattr__(name[, getattr]) Inherit all other methods from the underlying stream.
__init__(stream[, errors]) Creates a StreamWriter instance.
decode(input[, errors]) Decodes the object input and returns a tuple (output object, length consumed).
encode(input[, errors])
reset()
seek(offset[, whence])
write(object) Writes the object’s contents encoded to self.stream.
writelines(list) Writes the concatenated list of strings to the stream using .write().