1.

Q4. WAP to write data into “student”, CSV file using writerow()​

Answer»

ong>Answer:

Reading and WRITING CSV File using Python

writer() This FUNCTION in csv module RETURNS a writer OBJECT that converts data into a delimited string and stores in a file object. ...

writerow() This function writes items in an iterable (list, TUPLE or string) ,separating them nby comma character.

writerows() ...

read() ...

DictWriter() ...

writeheader() ...

DictReader(

Explanation:

hope you are satisfied with the answer



Discussion

No Comment Found