Files
Python-2020/Tests/test2-pexpect.py
2020-06-02 13:38:27 +02:00

5 lines
90 B
Python

import pexpect
print(pexpect.run('ls'))
print(pexpect.run('cd'))
print(pexpect.run('ls'))