似乎在 windows 上面是可以的,但是 Mac 上面直接套用 windows 的 setup.py 就会出错
setup.py(windows):
from distutils.core import setup import py2exe setup(console=['sakai_getter.py'])
请问具体有什么办法可以在 Mac 上面也编译出 console application 吗?