代码没问题, 估计是eclipse配置的问题, 没用它写过python,一直都要pycharm的Python 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> s = raw_input()阿斯蒂芬>>> print 'name', sname 阿斯蒂芬>>> print s.decode('utf8')阿斯蒂芬>>>...
|