Deutsch English Français Italiano |
<mailman.70.1736844978.2912.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Alan Gauld <learn2program@gmail.com> Newsgroups: comp.lang.python Subject: Re: Tools to help with text mode (i.e. non-GUI) input Date: Tue, 14 Jan 2025 08:56:14 +0000 Lines: 24 Message-ID: <mailman.70.1736844978.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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de ICn+4dB1OdQ6dwcwTuG97gDr7oOw4PS/eqsIX0NZE8jQ== Cancel-Lock: sha1:QkC4TwTJNj73OBYXuqgepNK++J4= sha256:MlcL3gL/4MRx70x9K6mNa2+S7PlS7waVGo62Y6foaF8= Return-Path: <learn2program@gmail.com> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=YSOh+Js8; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'included.': 0.07; 'api,': 0.09; 'etc).': 0.09; 'options,': 0.09; 'received:mail- ed1-x52c.google.com': 0.09; 'subject:GUI': 0.09; 'import': 0.15; 'flickr': 0.16; 'from:name:alan gauld': 0.16; 'gauld': 0.16; 'message-id:@yahoo.co.uk': 0.16; 'photo-blog': 0.16; 'url- ip:79.170.44.132/32': 0.16; 'url-ip:79.170.44/24': 0.16; 'url- ip:79.170/16': 0.16; 'url-ip:79/8': 0.16; 'url:alan-g': 0.16; 'url:alan_gauld': 0.16; 'url:alangauldphotos': 0.16; 'wrote:': 0.16; 'python': 0.16; 'grant': 0.17; "aren't": 0.19; 'url:amazon': 0.19; 'to:addr:python-list': 0.20; 'code': 0.23; 'to:name:python- list@python.org': 0.24; 'url-ip:18.239.70.223/32': 0.26; 'url- ip:18.239.70/24': 0.26; 'creating': 0.27; "isn't": 0.27; 'header :User-Agent:1': 0.30; 'program': 0.32; 'python-list': 0.32; 'window': 0.32; 'but': 0.32; 'received:192.168.1': 0.32; 'header :In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'from:addr:gmail.com': 0.34; "it's": 0.37; 'author': 0.37; 'received:192.168': 0.37; 'list': 0.39; 'alan': 0.40; 'difficult': 0.40; 'learn': 0.40; 'try': 0.40; 'included': 0.61; 'url- ip:18.239/16': 0.61; 'follow': 0.62; 'your': 0.64; 'site': 0.68; 'url:author': 0.69; 'url-ip:18/8': 0.72; 'subject:. ': 0.73; 'easy': 0.74; 'panel': 0.76; 'subject:Tools': 0.84; 'subject:input': 0.84; 'subject:text': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736844976; x=1737449776; darn=python.org; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=8MTuCILKZIVufcSChbeOJV32cBt58VfEDsaWJn8VBVo=; b=YSOh+Js89Y0lTNmZ8t1pOatO0rFHOEqeKX6K1eVhEMTtrUj8bjLD8ioks2O3RLN7q3 kvS182f1RzoJai3Ud+BSvuvFn+tX+uHJtK+4Pnt1Njbvq7ujTL57Ll5D7+/EmX4e7XBv 54xzBOJJLsPntov/6JWlB1UGIz/NFNOCOmM9mtD7D6eQu+XtOpj1x21n091nRIqO8PPG hO5yorP4kEGq6MduHcmwEu7NzZsIiVKGNNc2/14L+GQH+rL4yKqQLszCSSUQWzPiyH15 pEVOH0+HEBG+rx87fSCVpO0ZvcV1Z+vy0SUyf8CrUN3tCKMAL1pgelgosEdBXZA+tIfM /gvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736844976; x=1737449776; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8MTuCILKZIVufcSChbeOJV32cBt58VfEDsaWJn8VBVo=; b=O6qy6jrxuW31nrESaGtRL2xLV4QoGZifmW/Mkp6UUqGsbimkdwd2FAu29kDzQEjf1r 5Yr/WJUUspG67/eSAhaQoX15mb7rvE4jF1sKpkf1+4YRlGo6Q6wBNVYMn3zWYazQ0EPd D4fSQ3lFzgyah75nwWebMLRODdF020p6E5HjsKKOwHurNTWYDNAftbeINQB2hm4OZFcO UACtaPOX/MI6CtSlP6w1qYcLZ0AyRmsO6JixfIn4Fo/ZUG/vi7UAf93AUOe9vgBWUP5Y crJ3g7RZUjrwc7mzo1IGKUVPf3oz7LJ1pLhxxNbMNQAMK7fhYTJHI2wFfMX8bB704rVO YGTw== X-Forwarded-Encrypted: i=1; AJvYcCVk82x1zdzpdbkXfCApYfE46trmFU46CHjBUGlsNmCBy4DkaVW54aWjf+MUDsmBmM8tubl+bmAS1oYXkA==@python.org X-Gm-Message-State: AOJu0YyK62SdN/cgk16x6fhH37+PCPHWhHeSre56KePldNKnu5/mLPT/ QnEYEe+m3JtUB7a7drUvEcppwRaFfAuw3zJ7yEUT+aky5Xq6GDJS X-Gm-Gg: ASbGncvgIUr4JPmBEqnq/zw85OjBMuyVyqbdaXiq0BcnX3wlMvOQqu4lxL3RbsTmWdQ fOYM6xl4L55MT5MsB7i6sQD+VonFfDWenb7+5CqDCDG8OBay2DWvZkjpYYsWkpNK0czwuFoClTk QOKooCE4nF3gNUZZ7aSBbCfZu/jkoVnpCOazlXlG5YlrzWuHTGlf4GpNNwm2rlHA/7Zr75LWFD5 jwx6l5hIsh4PPFNuofoOWZPGidJEaDSHfl8CMPTP/7jrIELuzc3F9vmsXM37zOoQCI3AT00Ew== X-Google-Smtp-Source: AGHT+IFAEfeYAiy4Zx9ZgVsFy6mWU3/PYWspMElg79AhK3vgu6Wrm1Zr1urkezRJ5Rp5EtPhOZ2F/w== X-Received: by 2002:a17:907:7b8d:b0:aab:7461:fbe5 with SMTP id a640c23a62f3a-ab2abdc0a98mr2442197966b.45.1736844975466; Tue, 14 Jan 2025 00:56:15 -0800 (PST) X-Google-Original-From: Alan Gauld <alan.gauld@yahoo.co.uk> User-Agent: Mozilla Thunderbird Content-Language: en-GB In-Reply-To: <4YX8tK2xv4znb1c@mail.python.org> 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: <0c3821d3-78c1-45c0-81da-81f9fb4c4f02@yahoo.co.uk> X-Mailman-Original-References: <2113dab2-59ba-408e-b34a-78722d525f8c@yahoo.co.uk> <3ab7002b-689d-4609-96d7-bb388513f227@yahoo.co.uk> <4YX8tK2xv4znb1c@mail.python.org> Bytes: 6728 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 G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos