Python Console with Logging
I'm in the process of rewriting a server program, and I want to add into
it a simple console input.
At the moment, it just serves data and prints out one or two lines for
each thing it does, as a descriptive measure for anyone
watching/debugging.
What I want is to have a "sticky" input bar that is always at the bottom,
above which my debug prints appear, so that I can enter commands at any
point while the program is printing. This would look a bit like:
...
[88.88.88.88] Handling Connection on Port 11452
[12.12.12.12] Received Data
[44.44.44.44] Sending Disconnect Sequence
>>>Enter Data Here at Any Time
Ideally, this would be done without curses as this would complicate
matters. I feel like I must be missing a simple solution.
Thanks in Advance,
Freddy.
No comments:
Post a Comment