我无法打开我的代码我不知道为什么,我重新安装了我的窗口,之后我安装了python并且不再工作了。你能帮帮我吗?
=IF(C2<>"",SUBSTITUTE(C2,"In person ","")&" min",IF(D2<>"",SUBSTITUTE(D2,"Email ","")&" min",IF(E2<>"",SUBSTITUTE(E2,"IM ","")&" min",IF(F2<>"",SUBSTITUTE(F2,"Phone ","")&" min",""))))
有关详细信息,请参阅http://www.python.org/peps/pep-0263.html
答案 0 :(得分:2)
尝试将其放在game.py
文件的顶部:
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
另外,我建议阅读他们在错误中提供的链接,以了解您需要的链接(或者可能需要其他编码)。