for status in statuses:
if status.lang =='en':
text += status.text.encode('utf-8')
line 3 return error in my IDE. python 3.5TypeError: Can't convert 'bytes' object to str implicitly
TypeError: Can't convert 'bytes' object to str implicitly
Unicode handling differs quite a lot between python2 and python3, If that code is targetting python2 then you're better off running it with a python2 interpreter.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.