CBSE Class 12 Computer Science Question 16 of 145

File Handling — Question 6

Back to all questions
6
Question

Question 6

Name the functions used to read and write in CSV files.

Answer

The functions used to read in CSV files are as follows :

  1. csv.reader()

The functions used to write in CSV files are as follows :

  1. csv.writer()
  2. <writerobject>.writerow()
  3. <writerobject>.writerows()