Examveda

What is the purpose of the readlines() method in file handling?

A. It reads all lines of a file into a list

B. It writes lines to the file

C. It appends lines to the file

D. It closes the file

Answer: Option A


This Question Belongs to Python Program >> Files Handling In Python

Join The Discussion

Related Questions on Files Handling in Python