Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 63)
63.
What is the purpose of the file.writelines() method?
Writes a list of strings to a file
Writes the buffered data to the file
Writes a list of dictionaries to a file
Writes a list of numbers to a file
Answer: Option
Explanation:
file.writelines() writes a list of strings to a file.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.