[scribus] Patch submitted for Command Line Arguments to be passed to python script

ale rimoldi ale.comp_06 at xox.ch
Mon Sep 14 07:30:59 UTC 2015


hi greg

> But this example might not as well involve Scribus,

it does not have to...

the idea is that directly running

$ python test-script.py -test abcd

and

$ scribus -py test-script.py -test abcd

should give the same result.

except that:

- in the second case you now can interact with the scribus API
- currently there is still a "ext" parameter that is added by the
scripter engine.(and i think it should be removed!)

so, to understand this new feature, i think that the best is to look in
a python handbook for the section on parsing the command line arguments.

have a nice day
a.l.e



More information about the scribus mailing list