summaryrefslogtreecommitdiff
path: root/examples/chess3.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/chess3.py
parent8807914872e9694f62656505f83997f46e63ffaa (diff)
downloadpexpect-git-8cfc5188e0a9cff7a584c83e7ee16ef7023b3cd5.tar.gz
remove all unnecessary imports
Diffstat (limited to 'examples/chess3.py')
-rwxr-xr-xexamples/chess3.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/chess3.py b/examples/chess3.py
index 5080dcb..dc02663 100755
--- a/examples/chess3.py
+++ b/examples/chess3.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)'
@@ -98,7 +97,7 @@ class Chess:
def quit(self):
self.child.sendline ('quit')
-import sys, os
+import sys
print('Starting...')
white = Chess()
white.do_move('b2b4')