[PythonCE] call scrypt with parameters
Fredy Cabre
fredy9 at menta.net
Mon Oct 9 00:00:29 CEST 2006
the problem that I wrote in the previous e-mail is solved with reset of
the ppc. :-)
But now I have another problem. I make a little aplication with a
program (Sprint DB) that allow to send another program with a method
named 'RunApp',
well, I call my scrypt with this metod that have 2 parameters:
Application and Parameters. I put the path of the scrypt in the
Aplicattion parameter and the scrypt's parameters in the Parameters
parameter,
but when i call the method give this error:
path_origen=sys.argv[1]
'list index out of range'
That mains that the scrypt don't detect the parameters that i send.
What can I do to send the scrypt's arguments correctly?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonce/attachments/20061009/6c741ff7/attachment.html
More information about the PythonCE
mailing list