<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 13.03.2009 um 20:59 schrieb Rob McBroom:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 2009-Mar-13, at 2:15 PM, Christian wrote:<br><br><blockquote type="cite">But I would like to use Python v3 within TextMate when pressing cmd+R.<br></blockquote><blockquote type="cite">Could that be done in some way? If yes, could you please a minimal<br></blockquote><blockquote type="cite">example how to code it?<br></blockquote><br><br>Try setting TM_PYTHON to "/path/to/python3.0". It can be set per- <br>project or globally in TextMate's preferences. This will make ⌘R use <br>Python 3, but it might also be enough to break some commands. I <br>haven't tried it.</div></blockquote><br></div><div>I tried to set TM_PYTHON to</div><div><br></div><div>/Library/Frameworks/Python.framework/Versions/3.0</div><div><br></div><div>but after cmd+R, I only get in the output window</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS'; ">Program exited with code #1 after 0.01 seconds.</span></div><div><font class="Apple-style-span" face="'Trebuchet MS'"><br></font></div><div><font class="Apple-style-span" face="'Trebuchet MS'">and nothing more.</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'"><br></font></div><div><font class="Apple-style-span" face="'Trebuchet MS'"><br></font></div><div><font class="Apple-style-span" face="'Trebuchet MS'">Do you have further hints...?</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'">Christian</font></div></body></html>