io.BufferedWriter¶
-
class
io.BufferedWriter¶ A buffer for a writeable sequential RawIO object.
The constructor creates a BufferedWriter for the given writeable raw stream. If the buffer_size is not given, it defaults to DEFAULT_BUFFER_SIZE. max_buffer_size isn’t used anymore.
Methods¶
__enter__ |
|
__exit__ |
|
__format__ |
default object formatter |
__new__((S, ...) |
|
__reduce__ |
helper for pickle |
__reduce_ex__ |
helper for pickle |
__sizeof__ |
|
__subclasshook__ |
Abstract classes can override this to customize issubclass(). |
_checkClosed |
|
_checkReadable |
|
_checkSeekable |
|
_checkWritable |
|
close |
|
detach |
|
fileno |
|
flush |
|
isatty |
|
read |
Read and return up to n bytes. |
read1 |
Read and return up to n bytes, with at most one read() call to the underlying raw stream. |
readable |
|
readinto |
|
readline |
Read and return a line from the stream. |
readlines |
Return a list of lines from the stream. |
seek |
|
seekable |
|
tell |
|
truncate |
|
writable |
|
write |
|
writelines |