[TxMt] Re: Problem running a simple Python script containing call to raw_input()

Chris Rebert textmate at rebertia.com
Sun Sep 6 22:27:35 UTC 2009


On Sun, Sep 6, 2009 at 12:21 PM, Steve Copley<copley.steve at gmail.com> wrote:
>
> Hello
>
> I'm a bit stumped...
>
> I have a simple Python script containing a call to raw_input(). When I run
> the script with Cmd-R, the 'Running' window pops open, the script runs, but
> upon reaching the raw_input() call I'm not prompted for any user input.
> Instead the window displays an error:
>
> EOFError: 'EOF when reading a line'
>
> Running the script via the terminal works as expected: the script pauses for
> my input, then continues.
>
> Any ideas? I've googled about and only found one other reference to this
> error (on this very forum) but the issue was resolved with an update to
> TextMate.

http://blog.macromates.com/2009/interactive-input/

Cheers,
Chris
--
http://blog.rebertia.com



More information about the textmate mailing list