[TxMt] Re: Python/IPython support

unussum at gmail.com unussum at gmail.com
Tue Oct 13 02:45:32 UTC 2009


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')
>
>
>> 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 at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list