Examveda
Examveda

How can you read a single line from a file in Python?

A. By using the readline() method on a file object

B. By using the line() function

C. By using the get_line() method

D. By using the read() method

Answer: Option A


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

Join The Discussion

Related Questions on Files Handling in Python