pexpect-serial-0.1.0


توضیحات

pexpect with pyserial
ویژگی مقدار
سیستم عامل OS Independent
نام فایل pexpect-serial-0.1.0
نام pexpect-serial
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده High Wall
ایمیل نویسنده hiwall@126.com
آدرس صفحه اصلی https://github.com/highwall/pexpect-serial
آدرس اینترنتی https://pypi.org/project/pexpect-serial/
مجوز -
Introduction ------------ This is like pexpect, but it will work with serial port that you pass it. You are reponsible for opening and close the serial port. This allows you to use Pexpect with Serial port which pyserial supports. Usage ----- ```python import serial from pexpect_serial import SerialSpawn with serial.Serial('COM1', 115200, timeout=0) as ser: ss = SerialSpawn(ser) ss.sendline('start') ss.expect('done') ``` License ------- MIT


نیازمندی

مقدار نام
- pexpect
- pyserial


نحوه نصب


نصب پکیج whl pexpect-serial-0.1.0:

    pip install pexpect-serial-0.1.0.whl


نصب پکیج tar.gz pexpect-serial-0.1.0:

    pip install pexpect-serial-0.1.0.tar.gz