On Sat, Apr 8, 2017 at 2:07 AM, tscv11 <[email protected]> wrote:

> Sorry for  the delay.
>
> *I tried:*
>
>     choice = g.input_("selection ")
>     print(choice)
>
> Leo seems to be giving me the same (or a similar) error:
>
> exception executing script RuntimeError: input(): lost sys.stdin
> only 7 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
>
> I am interested in "g.input_" - a search of the (Leo) documentation
> returns nothing. I have read that "g" is the leo.core.leoGlobals module,
> but that's about all I know.
>

​Look in LeoPyRef.leo, or leoPy.leo if you have made your own copy of it.

Edward

-- 
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