Python friends:

I have a desire to build a small program for testing a piece of hardware I am designing. This program will need to have a REPL so the user can invoke various configuration and test commands while connected to the device, but also asynchronously handle data arriving from that device and displaying it.

Can anyone suggest packages and/or a strategy for doing this?

#Python #Async

cmd2

cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python.

@kushal Have you used it 'alternate event loops' that handle prompting and input? I'm not keen on using threads for the background work that is necessary.
@kevin Nope I did not, my experience with anything in python and background threads did not go well. Only time this (background threads) works for me when I have #PySide #QThreads in my code and they are real threads.