close(#to view the contents in demo bin =open('demo bin','rb'print( read() close(csv (comma separated valuefiles csv (comma-separated valuesis file containing text that is separated with comma,it is type of plain text that uses specific structuring to arrange tabular data csv files are used to handle large amount of data eg:spreadsheets syntaxcol col col first row data first row data first row data second row data second row data second row data reading and writing of csv files#create demo csv file gedit demo csv sn,rollno,name , ,ayaan , ,riyaan #write python program to read the data in demo csv import csv with open('demo csv'' 'as filereader csv reader(filefor row in readerprint(row#output['sn','rollno','name'[' ' ','ayaan'[' ',' ','riyaan'#creating empty csv file gedit empty csv #write the data into empty csv file import csv with open ("empty csv"," "as filef=csv writer(filef writerow([' no','rollno','name']bv prasanthi,dept of cse page