On 12/09/2016 04:11 PM, space.ship.travel...@gmail.com wrote: > When you invoke `ruby` from a pty, you get no output (as opposed to > `irb`, interactive ruby [shell]). You can write a script to stdin, > and send Ctrl-D (EOT / 0x04). Then, ruby will execute the script. > stdin is not closed so programs that expect interactive input will > work correctly. > > When we run python in the same way, we get an output prompt. As soon > as a function like `input` is called, the program is interrupted.
Nevermind my other post. I understand what you are saying. -- https://mail.python.org/mailman/listinfo/python-list