csv – Comma-separated value files Purpose: Read and write comma separated value files. Available In: 2.3 and later The csv module is useful for working with data exported from spreadsheets and databases into text files formatted with fields and records ..