Sujet : Re: Tools to help with text mode (i.e. non-GUI) input
De : learn2program (at) *nospam* gmail.com (Alan Gauld)
Groupes : comp.lang.pythonDate : 14. Jan 2025, 09:56:14
Autres entêtes
Message-ID : <mailman.70.1736844978.2912.python-list@python.org>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
On 2025-01-13, Alan Gauld via Python-list <python-list@python.org> wrote:
All of that is possible in curses, you just have to code it.
All of that is easy with curses in C. Unfortunately, the high level
"panel" and "menu" curses subystems that make it easy aren't included
in the Python curses API,
panel is included. Just import curses.panel.
menu unfortunately isn't but it's not difficult to roll
your own by creating a window with a list of options, provided
you don't try to get too fancy(submenus etc).
-- Alan GAuthor of the Learn to Program web sitehttp://www.alan-g.me.uk/http://www.amazon.com/author/alan_gauldFollow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos