> On 13 Sep 2015, at 16:28, JLuc <jluc at no-log.org> wrote: > > Le 13/09/2015 16:03, Gregory Pittman a ?crit : >> I have a script which requires a variable S (which in this case is a Zip >> code). It previously got this from a valueDialog. I commented out the >> valueDialog line. >> I tried to run it with >> scribus -g -py postnet.py --python-arg -S 40207 >> and when it runs it tells me there is no value for S. >> Maybe I don't understand what a 'python-arg' is. > > did you test -S or S ? > plz share your script for better answers. > > if you pass -S, -S should be tested, not S > as demonstrated in the example script > and explained in the wiki article.
?python-arg <argument name> <argument value> , no need to add - to the argument name Craig
