我刚刚在Sublime中添加了Python3解释器,以下代码停止工作: fileList = os.listdir(directoryDictionaryCreator.py", line 11, in <module> File "/Library/Frameworks/Python.framework/Versions/3.4/li
要求是它必须在Python2.7和3.x中运行,在任何平台上,并且使用任何终端设置和环境变量(例如LANG=C或LANG=en_US.UTF-8)。python打印函数在打印时会自动尝试对终端编码进行编码,但如果终端编码是ascii,则会失败。: 'ascii' codec can't encode character u'\xea' in position 0: ordinal not in range(128)
无论LANG设