Deutsch English Français Italiano |
<mailman.71.1736864503.2912.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail From: Grant Edwards <grant.b.edwards@gmail.com> Newsgroups: comp.lang.python Subject: Re: Tools to help with text mode (i.e. non-GUI) input Date: Tue, 14 Jan 2025 09:21:41 -0500 (EST) Lines: 24 Message-ID: <mailman.71.1736864503.2912.python-list@python.org> References: <2113dab2-59ba-408e-b34a-78722d525f8c@yahoo.co.uk> <3ab7002b-689d-4609-96d7-bb388513f227@yahoo.co.uk> <4YX8tK2xv4znb1c@mail.python.org> <0c3821d3-78c1-45c0-81da-81f9fb4c4f02@yahoo.co.uk> <4YXWXP3qnBznVGW@mail.python.org> X-Trace: news.uni-berlin.de UFDunqqJ5rRZ655L4tW8AQQrjHGqtnRAa9hLlZCR81Dg== Cancel-Lock: sha1:jfKOgooH69zH4t7vJOzgWpjW4Ww= sha256:BAxbNLIeajSMB/+69ljzYLifrh21xlddPZ5mlQgx8RY= Return-Path: <grant.b.edwards@gmail.com> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Spam-Status: OK 0.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'included.': 0.07; 'api,': 0.09; 'etc).': 0.09; 'meant': 0.09; 'options,': 0.09; 'subject:GUI': 0.09; 'import': 0.15; 'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards': 0.16; 'gauld': 0.16; 'wrote:': 0.16; 'python': 0.16; 'grant': 0.17; "aren't": 0.19; 'to:addr :python-list': 0.20; 'code': 0.23; 'creating': 0.27; "isn't": 0.27; '>>>': 0.28; 'header:User-Agent:1': 0.30; 'python-list': 0.32; 'window': 0.32; 'but': 0.32; 'from:addr:gmail.com': 0.34; 'really': 0.36; "it's": 0.37; 'list': 0.39; 'alan': 0.40; 'difficult': 0.40; 'try': 0.40; 'included': 0.61; 'your': 0.64; 'message-id:invalid': 0.69; 'subject:. ': 0.73; 'easy': 0.74; 'panel': 0.76; 'subject:Tools': 0.84; 'subject:input': 0.84; 'subject:text': 0.84 User-Agent: slrn/1.0.3 (Linux) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <https://mail.python.org/pipermail/python-list/> List-Post: <mailto:python-list@python.org> List-Help: <mailto:python-list-request@python.org?subject=help> List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> X-Mailman-Original-Message-ID: <4YXWXP3qnBznVGW@mail.python.org> X-Mailman-Original-References: <2113dab2-59ba-408e-b34a-78722d525f8c@yahoo.co.uk> <3ab7002b-689d-4609-96d7-bb388513f227@yahoo.co.uk> <4YX8tK2xv4znb1c@mail.python.org> <0c3821d3-78c1-45c0-81da-81f9fb4c4f02@yahoo.co.uk> On 2025-01-14, Alan Gauld via Python-list <python-list@python.org> wrote: > 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. Ah my bad, I meant "forms" and "menu" support was missing. > 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). Yea, it was "menu" and "forms" that I really wanted. -- Grant