Python исполняет командную строку, отправляя ввод и читая вывод

Как добиться следующей функциональности:

Python executes a shell command, which waits for the user to input something after the user typed the input, the program responses with some output Python captures the output

Ответы на вопрос(1)

Ваш ответ на вопрос