I saw the following discussion in the archives:
From: amarganth
Subject: [Bug-gnubg] Python Support
Date: Thu, 5 Aug 2004 10:29:32 +0200
The problem is, that I can't get the output of the hint command from
gnubg.
And I don't find another command unter python (dir(gnubg) to get this
On ons, 2006-05-17 at 08:37 -0700, David Levy wrote:
I am starting to experiment with Python to drive gnubg, and this is a major
stumbling block.
Now I am running:
gnubg-cli.exe -p script1.py script1.txt
Where script1.py includes
gnubg.command('hint')
I then run a
-Original Message-
From: Christian Anthon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 9:06 AM
To: David Levy
Cc: bug-gnubg@gnu.org
Jørn Thyssen who implemented the python interface is currently inactive and
as nobody
else amongst the developers seem too interested in the
The trouble is that gnubg.command(hint) doesn't return anything.
Yes, true! ... but have you tried the python methods:
gnubg.cfevaluation()
gnubg.findbestmove()
These methods usually return the information you want.
If it doesn't I'll rather make a change to these methods
-Øystein