Øystein posted a similar query for me earlier, but here are more details:
The doesn't appear to be support for command line arguments to a python
script under gnubg.
>From a cmd window under Windows XP, I type:
gnubg-cli.exe -p e:\gnubatch\RunGnubg.py {and want to add args here}
So I looked for sys.argv as follows:
(1) run gnubg-cli
(2) type '>' to enter the python shell
(3) type 'import sys' to import the sys module
(4) type 'dir(sys)' to see what objects are there
I don't see the expected sys.argv.
Am I missing something?
Is there another way I can pass command line arguments to a python script
under gnubg?
Thanks,
David
_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg