I want to develop a small Python app that interacts with the user via the console/command line. Are there any good libraries I can use to get user input and display the output in a nice-looking way? I tried searching but most of what I found was command-line argument processing, didn’t see anything about user interaction in the shell.
It should be crossplatform (Windows and Linux)
You can control the Unix terminal with the
curseslibrary. The library essentially lets you build a simple terminal GUI.If you need more, take a look at Urwid as well. Urwid offers more complex GUI widgets for the discerning terminal GUI developer. 🙂