So you are saying that  if I have TM_PYTHON, then I'll be fine without the shebang script. 

The shebang I entered was: #! usr/local/bin/python 3.3 

I think another one should do the same: #! usr/bin/env python3.3 

Thanks! 

On Oct 1, 2013, at 2:46 AM, Allan Odgaard-4 [via TextMate] wrote:

On Oct 1, 2013, at 1:24, simon <<a href="x-msg://311/user/SendEmail.jtp?type=node&amp;node=26903&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

> But I notice that if I add at the beginning of my script the shebang to set environment to python 3.3, the script no longer runs. (I also have a variable TM_python set to python 3.3).

If your script has a shebang, that is what TM uses to run your script.

It’ll fallback on TM_PYTHON only if there is no shebang.

So likely your shebang is incorrect, more info required if you need further help.


_______________________________________________
textmate mailing list
<a href="x-msg://311/user/SendEmail.jtp?type=node&amp;node=26903&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]
http://lists.macromates.com/listinfo/textmate



If you reply to this email, your message will be added to the discussion below:
http://textmate.1073791.n5.nabble.com/TextMate-2-and-Python-3-3-0-tp25945p26903.html
To unsubscribe from TextMate 2 and Python 3.3.0, click here.
NAML



View this message in context: Re: TextMate 2 and Python 3.3.0
Sent from the textmate users mailing list archive at Nabble.com.