- 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.
推薦閱讀
- Flask Web全棧開發實戰
- Mastering NetBeans
- Mastering Zabbix(Second Edition)
- Building a Game with Unity and Blender
- Apache Spark 2 for Beginners
- Processing互動編程藝術
- JS全書:JavaScript Web前端開發指南
- Building Minecraft Server Modifications
- 實戰Java高并發程序設計(第3版)
- C語言程序設計實驗指導 (第2版)
- INSTANT Sinatra Starter
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- Access 2010中文版項目教程
- HTML+CSS+JavaScript編程入門指南(全2冊)
- 網絡數據采集技術:Java網絡爬蟲實戰