python raw_input报错怎么解决,求指教
frompip._vendor.distlib.compatimportraw_inputa=raw_input("youname:")print(a)File"F:\w...
from pip._vendor.distlib.compat import raw_input
a = raw_input("you name:")
print(a)
File "F:\workspace\Helloword\helloword\test.py", line 2
SyntaxError: Non-UTF-8 code starting with '\xc4' in file F:\workspace\Helloword\helloword\test.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 展开
a = raw_input("you name:")
print(a)
File "F:\workspace\Helloword\helloword\test.py", line 2
SyntaxError: Non-UTF-8 code starting with '\xc4' in file F:\workspace\Helloword\helloword\test.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询