summaryrefslogtreecommitdiff
path: root/examples/chess.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2014-06-01 17:56:30 -0700
committerjquast <contact@jeffquast.com>2014-06-01 17:56:30 -0700
commit8cfc5188e0a9cff7a584c83e7ee16ef7023b3cd5 (patch)
tree0b9fc2a5fd2ee51783c9795cfa4b36e9f51a91ab /examples/chess.py
parent8807914872e9694f62656505f83997f46e63ffaa (diff)
downloadpexpect-git-8cfc5188e0a9cff7a584c83e7ee16ef7023b3cd5.tar.gz
remove all unnecessary imports
Diffstat (limited to 'examples/chess.py')
-rwxr-xr-xexamples/chess.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/chess.py b/examples/chess.py
index 8e33d9b..421727d 100755
--- a/examples/chess.py
+++ b/examples/chess.py
@@ -27,7 +27,6 @@ from __future__ import print_function
from __future__ import absolute_import
import pexpect
-import string
import ANSI
REGEX_MOVE = '(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)'
@@ -95,7 +94,7 @@ class Chess:
def quit(self):
self.child.sendline ('quit')
-import sys, os
+import sys
print('Starting...')
white = Chess()
white.child.echo = 1