Python Script Won't Run Via TextMate, OK in IDLE and Eclipse

前端 未结 2 1795
执笔经年
执笔经年 2021-01-07 09:59

I wrote the following for a homework assignment and it works fine in IDLE and Eclipse running Python 3.

However, I tried to run it from TextMate with the new line 1

2条回答
  •  粉色の甜心
    2021-01-07 10:57

    Textmate is using the built-in Python, rather than respecting the shebang line. You'd probably have to hack the bundle code to use the right python.

提交回复
热议问题