Pexpect makes Python a better tool for controlling other applications.
conda install c4aarch64::pexpect
Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output.