Python 2.7.5 (default, Mar 9 2014, 22:15:05)
--
You received this message because you are subscribed to the Google Groups "Light Table Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to light-table-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Light Table Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/light-table-discussion/SqVpquibZA4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to light-table-discu...@googlegroups.com.
When you run in a terminal, you automatically have an input stream, "stdin", and an output, "stdout", collectively "stdio". Anything you type goes into the input stream; when you call "raw_input" it waits for something be turn up in that input stream, reads it and returns the result.In Light Table there's simply no way (yet) to feed input to your program, so Python will wait in vain for some to turn up. A simple text box which feeds text into Python's input stream would do the trick, but noone's felt the need to implement that yet. You could do it yourself but that might be tricky – I'd suggest storing your "input" into variables or passing it directly into functions instead.
On 27 May 2014 19:34, Eliot Cloud <eliot...@gmail.com> wrote:
Please explain "stdio hasn't been implemented", i.e. what is "stdio" and how do I implement it?
On Tue, May 27, 2014 at 1:22 PM, Chris Granger <ibd...@gmail.com> wrote:
stdio hasn't been implemented, so there's no where for you to put the input.
Cheers,
Chris.
On Tue, May 27, 2014 at 10:13 AM, Eliot Cloud <eliot...@gmail.com> wrote:
Whenever I try to run the following program in Light Table:str1 = raw_input("Enter anything:")print "raw_input =", str1The working indicator in the console appears but never disappears and the user, i.e. myself, is not prompted to "Enter anything" as I expect it to. Why?Details:Mac OSX 10.9.3.Python 2.7.5 (default, Mar 9 2014, 22:15:05)
--
You received this message because you are subscribed to the Google Groups "Light Table Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to light-table-discussion+unsub...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Light Table Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/light-table-discussion/SqVpquibZA4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to light-table-discussion+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Light Table Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to light-table-discussion+unsub...@googlegroups.com.