bytes vs. characters
bytes vs. characters
Posted May 9, 2015 21:34 UTC (Sat) by nix (subscriber, #2304)In reply to: bytes vs. characters by lopgok
Parent article: Report from the Python Language Summit
Well, if you want to read something no matter what its encoding, you use bytes mode. That's what bytes mode is *for*. Python 3 is really very consistent here (unlike Python 2, for which you had to guess and hope.)