obspy.core.util.base.NamedTemporaryFile.writelines

NamedTemporaryFile.writelines(lines, /)

Write a list of lines to stream.

Line separators are not added, so it is usual for each of the lines provided to have a line separator at the end.