En Mon, 24 Sep 2007 16:59:52 -0300, Dave Westerman <[EMAIL PROTECTED]>
escribi�:
> I've got a Jython script where I'm doing an execfile() to pull in a
> small script that contains a function, which I then call.
>
> execfile(app_applscript)
> optionList = createOptionList(applOptions)
>
> When I
I'm not sure why it doesn't work, but a better way would be to use the
import statement:
import app_applscrip
app_applscript.createOptionList(applOptions)
Cheers
Tim
--
http://mail.python.org/mailman/listinfo/python-list
I've got a Jython script where I'm doing an execfile() to pull in a
small script that contains a function, which I then call.
execfile(app_applscript)
optionList = createOptionList(applOptions)
When I do this at the global level in my main script, it works just
fine. However, when I move this c