Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-20 Thread Lele Gaifax via Python-list
Chris Green via Python-list writes: > I'm looking for Python packages that can help with text mode input, > i.e. for use with non-GUI programs that one runs from the command > prompt in a terminal window running a bash shell or some such. I'd suggest giving a try to https://pypi.org/project/ques

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Mats Wichmann via Python-list
On 1/17/25 12:03, Keith Thompson via Python-list wrote: Alan Gauld writes: On 15/01/2025 00:41, Keith Thompson via Python-list wrote: Alan Gauld writes: On 11/01/2025 14:28, Chris Green via Python-list wrote: I'm looking for Python packages that can help with text mode input, I haven't foll

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Grant Edwards via Python-list
On 2025-01-17, Alan Gauld via Python-list wrote: > On 15/01/2025 00:41, Keith Thompson via Python-list wrote: >> Alan Gauld writes: >>> On 11/01/2025 14:28, Chris Green via Python-list wrote: I'm looking for Python packages that can help with text mode input, >>> >>> The standard package for

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Keith Thompson via Python-list
Alan Gauld writes: > On 15/01/2025 00:41, Keith Thompson via Python-list wrote: >> Alan Gauld writes: >>> On 11/01/2025 14:28, Chris Green via Python-list wrote: I'm looking for Python packages that can help with text mode input, >>> >>> The standard package for this is curses which comes as

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Alan Gauld via Python-list
On 15/01/2025 00:41, Keith Thompson via Python-list wrote: > Alan Gauld writes: >> On 11/01/2025 14:28, Chris Green via Python-list wrote: >>> I'm looking for Python packages that can help with text mode input, >> >> The standard package for this is curses which comes as part >> of the standard li

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Keith Thompson via Python-list
Alan Gauld writes: > On 11/01/2025 14:28, Chris Green via Python-list wrote: >> I'm looking for Python packages that can help with text mode input, > > The standard package for this is curses which comes as part > of the standard library on *nix distros. The thing about curses (which may or may n

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-16 Thread Roel Schroeven via Python-list
Op 11/01/2025 om 15:28 schreef Chris Green via Python-list: I'm looking for Python packages that can help with text mode input, i.e. for use with non-GUI programs that one runs from the command prompt in a terminal window running a bash shell or some such. What I'm specifically after is a way to

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-15 Thread Alan Gauld via Python-list
On 15/01/2025 00:54, Grant Edwards via Python-list wrote: > are your friend. If that's not sophisticated enough the gnu "readline" > library with a simple command processor is a common next step. On that front the cmd module in Python is often overlooked but is useful for structuring a non-GUI-li

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-14 Thread Grant Edwards via Python-list
On 2025-01-14, Chris Green via Python-list wrote: > Yes, thanks all, maybe just straightforward curses is the way to go. > Looking at some of the 'cleverer' ones they end up looking remarkably > like GUI code, in which case I might as well use a GUI. The source code to configure and handle a UI

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-14 Thread Chris Green via Python-list
Alan Gauld wrote: > On 14/01/2025 00:20, Grant Edwards via Python-list wrote: > > On 2025-01-13, Alan Gauld via Python-list 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 "

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-14 Thread Grant Edwards via Python-list
On 2025-01-14, Alan Gauld via Python-list wrote: > On 14/01/2025 00:20, Grant Edwards via Python-list wrote: >> On 2025-01-13, Alan Gauld via Python-list 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 hi

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-14 Thread Alan Gauld via Python-list
On 14/01/2025 00:20, Grant Edwards via Python-list wrote: > On 2025-01-13, Alan Gauld via Python-list 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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread Grant Edwards via Python-list
On 2025-01-13, Alan Gauld via Python-list 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, so doing it in Pyht

RE: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread Alan Gauld via Python-list
On 11/01/2025 14:28, Chris Green via Python-list wrote: > I'm looking for Python packages that can help with text mode input, The standard package for this is curses which comes as part of the standard library on *nix distros. > What I'm specifically after is a way to provide a default value that

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread Chris Green via Python-list
rustbuck...@nope.com wrote: > > This is what I was going to suggest. Rich is super easy to use. OK, thanks, Rich is on my shortlist then. -- Chris Green ยท -- https://mail.python.org/mailman/listinfo/python-list

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread rustbuckett--- via Python-list
This is what I was going to suggest. Rich is super easy to use. -- https://mail.python.org/mailman/listinfo/python-list

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-11 Thread dn via Python-list
On 12/01/25 03:28, Chris Green via Python-list wrote: I'm looking for Python packages that can help with text mode input, i.e. for use with non-GUI programs that one runs from the command prompt in a terminal window running a bash shell or some such. What I'm specifically after is a way to provi

Tools to help with text mode (i.e. non-GUI) input

2025-01-11 Thread Chris Green via Python-list
I'm looking for Python packages that can help with text mode input, i.e. for use with non-GUI programs that one runs from the command prompt in a terminal window running a bash shell or some such. What I'm specifically after is a way to provide a default value that can be accepted or changed easil