Patrick Stinson wrote:
> Is it possible to load a script from it's text data, and not from a
> file? I'm writing a scripting engine and need to run the scripts right
> from the editor.
look up the "exec" statement and, optionally, the "compile" function in
the manual.
--
http://mail.python
Is it possible to load a script from it's text data, and not from a file?
I'm writing a scripting engine and need to run the scripts right from the
editor.
cheers!
--
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/
--
http://mail