[TxMt] Re: TextMate 2 and Python 3.3.0

simon zmsong at ymail.com
Tue Oct 1 19:27:54 UTC 2013


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 <[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 
> [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: http://textmate.1073791.n5.nabble.com/TextMate-2-and-Python-3-3-0-tp25945p26904.html
Sent from the textmate users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20131001/1976823b/attachment.html>


More information about the textmate mailing list