Re: saving pre-compiled scripts
- From: "Derek van Vliet" <dvanvliet@xxxxxxxx>
- Date: 30 Jun 2005 13:29:53 -0700
Another thing which may be important to note re: my constraints is that
each script is essentially being run as a function.
In fact, every script element I parse in XML gets wrapped in a function
def before I send it to Py_CompileString.
I then PyEval the result of that function, and then run
Py_CompileString again, passing only the automatically generated
function call.
The result of the second Py_CompileString is what I pass to
PyEval_EvalCode whenever my app needs to run that script (function).
.
- Follow-Ups:
- Re: saving pre-compiled scripts
- From: Derek van Vliet
- Re: saving pre-compiled scripts
- References:
- saving pre-compiled scripts
- From: Derek van Vliet
- saving pre-compiled scripts
- Prev by Date: Re: Scket connection to server
- Next by Date: Re: Controlling WinAMP (WM_COPYDATA problem)
- Previous by thread: saving pre-compiled scripts
- Next by thread: Re: saving pre-compiled scripts
- Index(es):
Relevant Pages
|