[TxMt] Re: Executing Python scripts.

Eduardo Francos efrancos at efrancos.com
Fri Jun 20 17:46:38 UTC 2014


On 18 juin 2014, at 21:57, Gabriele Battaglia <iz4apu at libero.it> wrote:

> ...
> The problem was about how to run a Python Script which involves some user interaction:
> 
> ***
> print “Hello world.”
> age = input (“How are old, dear world?”)
> print “Ohh,”, age, “ so aged?”
> ***
> 

When I need this type of user interaction within a command I use CocoaDialog. It offers many options that should cover most, albeit simple needs.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140620/e4722be6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.macromates.com/textmate/attachments/20140620/e4722be6/attachment.asc>


More information about the textmate mailing list