Re: loading a script from text data

2008-01-11 Thread Fredrik Lundh
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

loading a script from text data

2008-01-10 Thread Patrick Stinson
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