KnowledgeBoat Logo

Computer Science

When do you think text files should be preferred over binary files ?

Python File Handling

8 Likes

Answer

Text files should be preferred over binary files when dealing with human-readable data that does not require special encoding or formatting. They are ideal for storing plain text, such as configuration files, logs, or documents, as they are easily editable and can be viewed using a simple text editor. Text files are also more portable and platform-independent, making them suitable for data interchange between different systems.

Answered By

3 Likes


Related Questions