smpl_io.io.append

smpl_io.io.append(destination, content, mode='a+')[source]

Appends to file by string or writable destiantion.

Parameters

destinationstr, writeable

destination to write to.

contentstr

text to be written.

modestr

mode to open the file. Default is ‘a+’ (append and read).

Examples

>>> append(sys.stdout,"hi")
hi