On Tuesday, April 18, 2017 at 6:32:27 AM UTC-5, Edward K. Ream wrote:
'''hello_curses.py: Hello world in curses.'''
> import curses as c
> import time
> w = c.initscr()
> w.insstr('Hello World')
> w.refresh()
> time.sleep(2)
> c.endwin()
>
This also works on Windows 10, provided one installs the proper binary from
this
page <http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses>. You can get to
this page by googling "python _curses" which takes you to this stack
overflow page
<http://stackoverflow.com/questions/17410116/error-no-module-named-curses>.
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.