[TxMt] Re: Interactive input for a python script

Allan Odgaard mailinglist at textmate.org
Thu May 6 17:43:14 UTC 2010


On 8 Mar 2010, at 22:12, Rajanikanth Jammalamadaka wrote:

> How can I make textmate ask me for input for the following Python  
> script:
>
> import sys
>
> for i in sys.argv[1:]:
>     print i, hex(i)

You can make TM ask for interactive by reading from stdin. Accessing  
sys.argv does howver not prompt the user for input.

As for interactive input, this was temporarily disabled but enabled  
again in latest cutting edge release.




More information about the textmate mailing list