bug-gnubg
[Top][All Lists]
Advanced

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

RE: Invoking gnubg to run python scripts


From: Ian Shaw
Subject: RE: Invoking gnubg to run python scripts
Date: Wed, 2 Oct 2024 12:39:42 +0000

Try opening a command window in your /gnubg folder. 

".\gnubg-cli.exe --python=C:\mypath\myscript.py" 

-----Original Message-----
From: bug-gnubg-bounces+ian.shaw=riverauto.co.uk@gnu.org 
<bug-gnubg-bounces+ian.shaw=riverauto.co.uk@gnu.org> On Behalf Of Francesco 
Ariis
Sent: 29 September 2024 21:03
To: bug-gnubg@gnu.org
Subject: Invoking gnubg to run python scripts

Hello,

    I have a simple python that I run with gnubg. I call it by

  1. running gnubg; and then
  2. typing `load python /path/to/script.py`.

Is there a way to do it straight from the command line? I tried

  $ gnubg --python /path/to/script.py

but it does not run the python instructions.

GNU Backgammon 1.07.001 20230103 on Debian 12.7 —F


reply via email to

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