So you are saying that  if I have TM_PYTHON, then I'll be fine without the shebang script. <div><br></div><div>The shebang I entered was: #! usr/local/bin/python 3.3 </div><div><br></div><div>I think another one should do the same: #! usr/bin/env python3.3 </div><div><br></div><div>Thanks! </div><div><br><div><div>On Oct 1, 2013, at 2:46 AM, Allan Odgaard-4 [via TextMate] wrote:</div><br class="Apple-interchange-newline"><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite">

        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]</a>> wrote:
<br><br>> 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).
<br><br>If your script has a shebang, that is what TM uses to run your script.
<br><br>It’ll fallback on TM_PYTHON only if there is no shebang.
<br><br>So likely your shebang is incorrect, more info required if you need further help.
<br><br><br>_______________________________________________
<br>textmate mailing list
<br><a href="x-msg://311/user/SendEmail.jtp?type=node&amp;node=26903&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br><a href="http://lists.macromates.com/listinfo/textmate" target="_top" rel="nofollow" link="external">http://lists.macromates.com/listinfo/textmate</a><br>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://textmate.1073791.n5.nabble.com/TextMate-2-and-Python-3-3-0-tp25945p26903.html" target="_top" rel="nofollow" link="external">http://textmate.1073791.n5.nabble.com/TextMate-2-and-Python-3-3-0-tp25945p26903.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from TextMate 2 and Python 3.3.0, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://textmate.1073791.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></blockquote></div><br></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://textmate.1073791.n5.nabble.com/TextMate-2-and-Python-3-3-0-tp25945p26904.html">Re: TextMate 2 and Python 3.3.0</a><br/>
Sent from the <a href="http://textmate.1073791.n5.nabble.com/textmate-users-f3.html">textmate users mailing list archive</a> at Nabble.com.<br/>