__________files are also stored in terms of bytes, but unlike text files , these bytes do not represent the ASCII value of characters.
__________files are also stored in terms of bytes, but unlike text files , these bytes do not represent the ASCII value of characters.
Solution
Binary files store data as bytes, but the bytes are not ASCII codes of characters. They hold raw data such as images, audio, video, executables and compiled files, and need a program that understands the format to read them. In Python they are opened with modes like "rb" and "wb".
CSV: a text file. Its values are readable characters separated by commas.
Python: source files (.py) are plain text, so their bytes are ASCII/Unicode characters.
Extra: text files also have a line terminator (EOL) character, which binary files do not.
Related questions:
2025: 27 May Shift 2
2025: 14 May Shift 1
2025: 15 May Shift 2