triku.genutils

Module Contents

class triku.genutils.TqdmToLogger(logger, level=None)

Output stream for TQDM which will output to logger module instead of the StdOut.

write(self, buf)

Write string to file.

Returns the number of characters written, which is always equal to the length of the string.

flush(self)

Flush write buffers, if applicable.

This is not implemented for read-only and non-blocking streams.