Hacker News new | ask | show | jobs
by Spidler 3448 days ago
A thing I've found to help people about that is to override __repr__ on bytestrings in python3 and bytes in python3.

If you make it not print strings as "ascii" but as hex, people grasp the difference easier.