[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Re: gnubg and python

From: Øystein O. Johansen
Subject: [Bug-gnubg] Re: gnubg and python
Date: Mon, 15 May 2006 14:00:34 +0200

Hi, David!

I'm forwarding this request from GammOnLine to the GNU Backgammon mailing list. 
Maybe some of the readers have time to answer.

You can pass command line arguments as you do with with other python scripts. 
These aruments will then be handeled by the Python intepreter.

I've not tried this my self, but it should work.


---- 8< ----

I am at the very early stages of playing around with python and gnubg. I have 
successfully run some simple python scripts by executing

    gnubg-cli.exe -p {scriptname}

but I am coming up with a list of fairly technical questions such as:

    * Can I pass command line arguments to the python script. If I were running 
from python I could do "python {scriptname} {arguments}" but I can't figure out 
how to do "gnubg-cli -p {scriptname} {argments}"
    * ...
    * [additional questions omitted for now] 

Has anyone travelled this path before me? Would you be willing to answer some 


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]