- Mastering Python Networking
- Eric Chou
- 115字
- 2021-07-02 21:42:35
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.
推薦閱讀
- Learning Neo4j
- 零基礎(chǔ)學(xué)C++程序設(shè)計(jì)
- Ceph Cookbook
- 控糖控脂健康餐
- JavaFX Essentials
- 21天學(xué)通C++(第6版)
- INSTANT Mercurial SCM Essentials How-to
- HTML5從入門到精通(第4版)
- JBoss:Developer's Guide
- Python語(yǔ)言科研繪圖與學(xué)術(shù)圖表繪制從入門到精通
- Advanced Python Programming
- Mastering Embedded Linux Programming
- JavaWeb從入門到精通(視頻實(shí)戰(zhàn)版)
- JSP應(yīng)用與開發(fā)技術(shù)(第3版)
- 零基礎(chǔ)C語(yǔ)言學(xué)習(xí)筆記