Alternatively you can use optparse (python 2.6) or argeparse (python
2.7) module in your main() to consume arguments.
I tried to use OptionParser as I am on SI 2013.
It does not work. It seems XSI does not set the required python stuff.
I will try to get the multi-arg/dict flag working.
A problem could be the generation of the commandline,
but I do not have any other chance.
Thanks,
Holger Schoenberger
technical director
The day has 24 hours, if that does not suffice, I will take the night
Quoting Alok Gandhi <[email protected]>:
Not sure why XSIBatch is doing it but as a workround you can always
pass just one argument as a string representing a dict and parse it
back in main().
Alternatively you can use optparse (python 2.6) or argeparse (python
2.7) module in your main() to consume arguments.