[Pythonmac-SIG] Re: Getting stdin using TextWrangler or BBEdit, but not MacPython

Louis Pecora pecora at anvil.nrl.navy.mil
Thu Mar 3 23:22:46 CET 2005

Charles Hartman wrote:

> In TextWrangler something like this
>         while 1:
>             c = raw_input()
>              if c == 'quit': break
>              print c
> works fine, if you choose Run in Terminal or Run with Debugger. If you 
> try to choose Output to New Window, it just quits immediately. But you 
> can certainly run it from within TW.

Yes, that works.  Thank you.  I would have liked using the Output to 
keep it all in BBEdit, but I may have to go with the TW.  Better than 
nothing.  Thanks again.

> Charles Hartman
> Professor of English, Poet in Residence


And you program computers.  Cool.


Lou Pecora

Code 6362
Naval Research Lab
Washington, DC  20375
Ph:  +202-767-6002
email:  pecora at anvil.nrl.navy.mil

More information about the Pythonmac-SIG mailing list