The standard str is unicode now... 2to3 . --fix unicode -wpn Ref: https://docs.python.org/3/whatsnew/3.0.html