(Aug-23-2019, 11:54 PM)adnanahsan Wrote: but on terminal some thing is wrong. strange issue i am facing bro :(
for example
i see this " Bebês " in terminal instead of " Bebês "
This is a typical error that can come if run Python 2,are you sure you running python 3 on server?
# Python 3.7
>>> s = 'Bebês'
>>> print(s)
Bebês
# Python 2.7,the error you get
>>> s = 'Bebês'
>>> print(s)
Bebês
# Python 2.7 fix
>>> s = u'Bebês'
>>> print(s)
Bebês
Put in
sys.executable
in script so see what python version you run.
import sys
print(sys.executable)
s = u'Bebês'
print(s)