Hacker News new | ask | show | jobs
by teach 4099 days ago
If you're worried about the distinction between strings and byte sequences, you're thinking about a different sort of "beginner".
1 comments

A 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.