curses, ncurses or something else

John Pote johnpote at jptechnical.co.uk
Wed Jul 25 17:53:22 EDT 2018


On 24/07/2018 16:13, Peter Pearson wrote:
> On Mon, 23 Jul 2018 23:24:18 +0100, John Pote wrote:
>> I recently wrote a command line app to take a stream of numbers, do some
>> signal processing on them and display the results on the console. There
>> may be several output columns of data so a title line is printed first.
>> But the stream of numbers may be several hundred long and the title line
>> disappears of the top on the console.
>>
>> So I thought it might be quick and easy to do something with curses to
>> keep the title line visable while the numbers roll up the screen. But
>> alas I'm a Windows user and the 'curses' module is not in the Windows
>> standard library for Python.
>>
>> It occured to me that I could create a simple tkinter class but I
>> haven't tinkered for some time and would have to refresh my knowledge of
>> the API. Just wondered if there was any other simple way I could keep
>> the title line on the console, preferably without having to install
>> another library.
> Browsergui is designed to simplify GUI-building by mooching off your web
> browser.  I like it.
>
> sudo pip3 install browsergui
> python3 -m browsergui.examples
>
> Enjoy!
>
Thanks everyone for the helpful replies. All were good ideas and I'll 
follow up on them as personal time permits. Work is a pain at the moment 
AND without any Pythoning.

Best wishes to all.


More information about the Python-list mailing list