[CLN] clean up around the example scripts

This commit is contained in:
Benedek Racz
2019-09-06 11:52:11 +02:00
parent 813a462475
commit cd968844cd
6 changed files with 112 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
# A simple example code for wexpect written in python-2.7
'''
This example script runs foo python program, and communicates with it. For better understanding
please run natively foo.py first, which is a very basic stdio handler script.
'''
from __future__ import print_function
import sys
import wexpect
import os
@@ -35,4 +37,3 @@ p.wait()
# print the texts
print(p.read(), end='')