Not everything is text. Network protocols, image headers and many file formats are fixed layouts of bytes, and Python reads and writes them with the struct module. Data is often compressed or bundled, with gzip and zipfile. And the most common exchange format of all, the CSV file, has quoting rules that are easy to get wrong by hand. This lesson covers all three.
More lessons in Complete Python Programming