Binary data (raw bits) is often serialized to a standard text format when it is to be passed to another application. The other application then deserializes the text-formatted back to binary.
Comma-separated values (CSV) and JavaScript Object Notation (JSON) are two of the most common text formats for serialized data.
See this slide deck for an overview of how to handle CSV and JSON data in Python.