What is the advantage of using a csv file for permanent storage?
Write a Program in Python that defines and calls the following user defined functions:
(i) ADD() – To accept and add data of an employee to a CSV file ‘record.csv’. Each record consists of a list with field elements as empid, name and mobile to store employee id, employee name and employee salary respectively.
(ii) COUNTR() – To count the number of records present in the CSV file named ‘record.csv’.
Stores information in the form of a text file.
Stores information in the form of 0s and 1s.
Not human readable
Extension is .csv
Extension is .dat
"Enter furniture id :: "))
"Enter furniture name :: ")
"Enter furniture price :: "))
"The Details of furnitures with price greater than 10,000: ")
for r in records:
"Record not found")