Skip to content
CodeKruPro

Read a text or config file line by line

Explain itEasy-MediumPython onlyAsked in: Infosys

How do you read a text file line by line in Python? How do you read a configuration file?

Submit shows the model answer. Then rate yourself honestly.

to answer and keep your progress. Reading is free for everyone.