I just tried that, and unfortunately it didn't work.
The interesting thing is that I just tested the same way on my computer at work which is set up almost the same way and it worked without any issues at all.
I have done some things like restoring this machine from a Time Machine backup and some stuff like that, so maybe it's just time to wipe it and start clean.
Seems like a drastic step, but may be worth it in the long run.
Thanks for your help.
On Oct 13, 2009, at 4:50 AM, John Finch wrote:
Ok. Sounds like you might have a corruption in your setup. I'm using Snow Leopard with its own python 2.6.1 install.
My Textmate is version 1.5.9 (1510).
If I were you I'd delete my Textmate app as well as ~/Library/ Application Support/Textmate folder. Also check you have no Textmate folder under your Macintosh HD Library/Application Support folder.
Then re-install Textmate.
When you have the python file open make sure that Textmate has type python selected at the bottom of the editor window.
You might well have tried these measures but I cannot think of anything else that will help you. It does not seem to be a Snow Leopard issue.
On Oct 13, 2009, at 5:23 AM, textmate-request@lists.macromates.com wrote:
Another thing I just noticed, if after running the script with cmd- R I close and re-open the file, it comes up blank.
It appears to get overwritten whenever I run it with cmd-R.
On Oct 12, 2009, at 5:15 AM, John Finch wrote:
Works here. Make sure you have the placed the shebang at the top of the file.
#!/usr/bin/env python
That should help. Here's the full file:
#!/usr/bin/env python
print('test')
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate