Why pythonMethod forbids me cutting list?
These statements in python method: stock=[3,4] del stock[1] will cause this error: Error Type: Python Method Error Error Value: Forbidden operation DELETE_SUBSCR at line 2 How is that? Dirksen __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/
From: Dirksen <dirksen_lau@yahoo.com>
These statements in python method:
stock=[3,4] del stock[1]
will cause this error:
Error Type: Python Method Error Error Value: Forbidden operation DELETE_SUBSCR at line 2
How is that?
Python Methods aren't smart enough to know that you created the list yourself, and there's no security risk in allowing you to alter it. Python Scripts remove this limitation. Cheers, Evan @ digicool & 4-am
participants (2)
-
Dirksen -
Evan Simpson