KnowledgeBoat Logo

Computer Science

Name the functions used to read and write in plain text files.

Python File Handling

3 Likes

Answer

The functions used to read in plain text files are as follows :

  1. read()
  2. readline()
  3. readlines()

The functions used to write in plain text files are as follows :

  1. write()
  2. writelines()

Answered By

2 Likes


Related Questions