May-02-2017, 02:32 PM
What i mean that you should try to fix your Terminal/shell encoding.
Go to repl.it and just past in print function over,
you see that it do not make a
Try a better REPL,i only use the default one for testing like this.
Eg ptpython,BPython,IPython.
print(repr(chr(255)))
shall not give error in a Python 3 shell.Go to repl.it and just past in print function over,
you see that it do not make a
UnicodeEncodeError: 'ascii'
as you get.Try a better REPL,i only use the default one for testing like this.
Eg ptpython,BPython,IPython.