How to design a class that will listen on stdin?

zljubisic at gmail.com zljubisic at gmail.com
Sat May 23 07:24:09 EDT 2020


Hi,

I have to talk to outer system by stdin/stdout.
Each line that comes to stdin should be processed and its result returned back to stdout. Logging should go to stderr.

How to design a class that will listed to stdin and call required methods in order to process the data?

Regards


More information about the Python-list mailing list