__builtin__.file.writelines

file.writelines(sequence_of_strings) → None. Write the strings to the file.

Note that newlines are not added. The sequence can be any iterable object producing strings. This is equivalent to calling write() for each string.

Navigation