Howdy, I had been using some code that did this for quite some time. Until yesterday I had never got around to cleaning it up enough to put into CVS. I have done so, and will appear in the next windows build.
There are 3 new Python functions available - gnubgid, matchid, posinfo. The module help should be enough to figure out how they are used. On the todo list is an xgid function. Michael On 17/04/2010 6:51 AM, stormen wrote: > Are there any plans to do this ? > > The bits for cubevalue, cubeownership, crawford flag, score can easily be > obtained from gnubg.cubeinfo(), but to me it seems tedious to get all the > remainng bits for constructing the matchid from the match data structure > when I want the resulting Python function to return the matchid of the > position at wherever one has navigated to in a match after analysis. > > I normally code in Java and am completely new to Python, but if someone > provides a quick roadmap for what's needed, I am guessing very little, I > will give it a shot if anyone else would find a gnubg.matchid() function > useful. > -- Michael Petch CApp::Sysware Consulting Ltd. OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304 _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
