Re:Python 3 in 2016
by hepta on Thursday February 18, 2016 @07:15AM
(#11125200)
I don't understand this, what is more "pythonic" about 2?
[ Parent
| on HN ]
Not typing 'encode' or 'decode' when dealing with strings. I know it sounds stupid, but it's really distracting compared to everything else in python that just flows easily.
Then you're doing it wrong. Sorry but that's definitely better solved in Python3 than in 2. Always decode/encode when opening a file/stream/whatever and only use unicode internally.