官术网_书友最值得收藏!

Python Pexpect Library

Pexpect is a pure Python module for spawning child applications, controlling them, and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpct allows your script to spawn a child application and control it as if a human were typing commands. - Pexpect Read the Docs, https://pexpect.readthedocs.io/en/stable/index.html

Like the original Expect module by Don Libe, Pexpect launches or spawns another process and watches over it in order to control the interaction. Unlike the original Expect, it is entirely written in Python that does not quire TCL or C extensions to be compiled. This allows us to use the familiar Python syntax and its rich standard library in our code.

主站蜘蛛池模板: 新晃| 夏河县| 东源县| 乳源| 仪陇县| 上虞市| 尼勒克县| 徐闻县| 蒲城县| 霞浦县| 宁城县| 民乐县| 蕲春县| 安陆市| 武川县| 横峰县| 尖扎县| 图们市| 那坡县| 哈巴河县| 开鲁县| 太原市| 海口市| 彭阳县| 行唐县| 平陆县| 锡林浩特市| 文山县| 确山县| 兖州市| 巴塘县| 平塘县| 石阡县| 桓仁| 府谷县| 天等县| 清徐县| 金沙县| 宜黄县| 上虞市| 健康|