Well, following these steps it doesn't here:
TextMate->New File Copy your full file text into file (including shebang) Save file as "test2.py" Press Cmd-R to run script
It does not.
I just get a results window with an empty output.
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')
I'm new to TextMate and would like to use it for my Python development, among other things.
My issue is that I am not able to get the default Python bundle to function.
I am running OS X 10.6.1 with python 2.6.1.
For example if I create a new file named test.py, enter the text "print ('test')", save it, and hit command-R, a window pops up saying the script has been run, but the output is blank.
What am I missing here?
My eventual desire is to be able to run the IPython bundle created by Matt as well, but I figured it was better to start with just the regular Python bundle and get that functioning first.
Thank you for any help you can provide.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate