[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] feature request: Automatic rollouts on pos-files
From: |
Øystein O Johansen |
Subject: |
Re: [Bug-gnubg] feature request: Automatic rollouts on pos-files |
Date: |
Fri, 13 Aug 2004 12:14:34 +0200 |
Here is a "dirty" trick which may answer your questions:
for filename in glob.glob("*.pos"):
gnubg.command("import pos " + filename)
gnubg.command("hint")
gnubg.command("rollout =1 =2 =3")
gnubg.command("export position gammonline " + filename +".html")
# this code is even tested!
Now you can extract the result from the resulting html file.
Discussion:
Maybe we should have a export to xml feature?
-Øystein
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.