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

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.

主站蜘蛛池模板: 格尔木市| 临江市| 朝阳市| 耿马| 富阳市| 永兴县| 黄平县| 日土县| 哈密市| 宝坻区| 沛县| 哈尔滨市| 墨脱县| 白朗县| 汝南县| 资源县| 沾益县| 黄浦区| 漳平市| 汝阳县| 沂水县| 秦皇岛市| 娱乐| 临高县| 泗水县| 营口市| 化隆| 龙山县| 梅河口市| 克山县| 六枝特区| 盐源县| 安远县| 许昌县| 碌曲县| 镇平县| 时尚| 高州市| 清徐县| 祁东县| 改则县|