[PythonCE] call scrypt with parameters
Luke Dunstan
coder_infidel at hotmail.com
Mon Oct 9 15:52:48 CEST 2006
Mensaje
Please show the exact code where you call this "RunApp".
Luke
----- Original Message -----
From: Fredy Cabre
To: pythonce at python.org
Sent: Monday, October 09, 2006 6:00 AM
Subject: [PythonCE] call scrypt with parameters
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.
------------------------------------------------------------------------------
_______________________________________________
PythonCE mailing list
PythonCE at python.org
http://mail.python.org/mailman/listinfo/pythonce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonce/attachments/20061009/8f3f18a1/attachment.htm
More information about the PythonCE
mailing list