Urwid solves a similar problem: > Similar projects > npyscreen > curtsies > Python Prompt Toolkit
Src: https://github.com/urwid/urwid Docs: http://urwid.org/tutorial/ There are tests for urwid: https://github.com/urwid/urwid/tree/master/urwid/tests Presumably some of these apps built with urwid have *automated tests* of UI functionality; in order to accelerate development progress we write the program to test the program: the other half - or better - of the actual program is the executable test specification. Here's one way to test stdin input without urwid: https://github.com/4dsolutions/python_camp/pull/4/files On Wed, Sep 22, 2021, 10:54 kirby urner <kirby.ur...@gmail.com> wrote: > > I did pip install this and get it working without problems. > > As someone who designs curricula, I'm glad to know about it. > > Using curses module, not Tk. > > Kirby > > > On Wed, Sep 15, 2021 at 3:58 AM Kent Tong <kent.tong...@gmail.com> wrote: > >> Hi, >> I have written a small Python package (https://pypi.org/project/lineui/) >> to provide an API to a one-line user interface (like that in a calculator) >> for Python learners.It provides the following features: >> >> - output in the line (left, right or middle aligned). >> - output in the console (the lower box), mainly for debugging. >> - keyboard input. >> - timer input (every second or every 0.05 seconds). >> - schedule a call to a function a certain seconds later. >> - make a beep.With these a Python learner can make apps like: digital >> clock, the classic digit invaders game, slapjack, etc. >> >> >> -- >> Kent Tong >> IT author and consultant, child education coach >> _______________________________________________ >> Edu-sig mailing list -- edu-sig@python.org >> To unsubscribe send an email to edu-sig-le...@python.org >> https://mail.python.org/mailman3/lists/edu-sig.python.org/ >> Member address: kirby.ur...@gmail.com >> > _______________________________________________ > Edu-sig mailing list -- edu-sig@python.org > To unsubscribe send an email to edu-sig-le...@python.org > https://mail.python.org/mailman3/lists/edu-sig.python.org/ > Member address: wes.tur...@gmail.com >
_______________________________________________ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org https://mail.python.org/mailman3/lists/edu-sig.python.org/ Member address: arch...@mail-archive.com