Closed mbadawi23 closed 9 years ago
This pull request is mainly to upgrade pystockfish.py to work well with Python3. Here is a summary of the main modifications I made:
pystockfish.py
self.stdin.flush()
Engine.put()
'''
''''
docstring
Engine.isready()
'readyok'
''
I'm attentive to the care of your edits. Many thanks, mbadawi23, for your contribution.
This pull request is mainly to upgrade
pystockfish.py
to work well with Python3. Here is a summary of the main modifications I made:self.stdin.flush()
toEngine.put()
, otherwiseEngine.put()
hangs in Python3.'''
) are now replaced with triple double-quotes (''''
). Just to match thedocstring
convention.Engine.isready()
now returns'readyok'
instead of''
. I think this is more useful.