Here's a bug report: using a very basic test script with just two lines of 
python (shown below) I found that even with an inferior IDE such as IDLE, 
the script did ask for input and then print it, whereas Leo coughed up an 
error.

*Test "script":*

    choice = input("selection ")
    print(choice)

When testing with Leo I added @language python and @color to the top. Here 
is the error it gave me:

exception executing script RuntimeError: input(): lost sys.stdin
only 5 lines--------------------line 5848: from leo.core.leoQt import QtCore
* line 5849: QtCore.pyqtRemoveInputHook()
line 5850: return input(message)
line 5851: #@+node:ekr.20110609125359.16493: *3* g.isMacOS

Note: I use Windows 10.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to