KnowledgeBoat Logo

Computer Science

Is csv file different from a binary file ? Why/why not ?

Python File Handling

3 Likes

Answer

Yes, a CSV (Comma-Separated Values) file is different from a binary file. A CSV (Comma-Separated Values) file differs from a binary file in several aspects. CSV files are text-based and structured to store tabular data, with records separated by line breaks and fields by delimiters like commas. They are human-readable and editable using text editors, facilitating data interchange between applications and platforms. In contrast, binary files store data in a non-text, machine-readable format, represented by sequences of bytes. There is no delimiter for a line and no character translations occur. They accommodate diverse data types like images, audio, but are not human-readable and require specialized software for interpretation.

Answered By

3 Likes


Related Questions