_______Main.pyx___________________________________________
*My script which uses nordic letters, these: "æ, ø, å"*
__________________________________________________________
_______setup.py___________________________________________
from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules = cythonize('Main.pyx'))
__________________________________________________________
我正在尝试将我的python代码(.pyx)转换为c,我使用的命令是:
"python setup.py build_ext --inplace"
但是我收到了“unrecognized character
”错误 - >“类Nøgletal_Analyse:”
(这一点都不奇怪,毕竟我在剧本中使用北欧字母)
如何在不删除代码中的北欧字母的情况下避免使用unrecognized character error
?