Try opening a command window in your /gnubg folder. 

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

-----Original Message-----
From: [email protected] 
<[email protected]> On Behalf Of Francesco 
Ariis
Sent: 29 September 2024 21:03
To: [email protected]
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