4 ms·
If you're worried about the distinction between strings and byte sequences, you're thinking about a different sort of "beginner".
by teach 12y ago
If you're worried about the distinction between strings and byte sequences, you're thinking about a different sort of "beginner".
- lmm 12y agoA beginner will want to read and write files pretty early on. In Python 2 it's very easy to e.g. ignore that you need to pass the 'b' option for reading binary files and write scripts that seem to work, and then silently corrupt data when run on windows. Which is not a good experience.