[IronPython] Persistent IronPython Environment

Timothy Strimple tstrimple at collectivedata.com
Thu May 3 17:19:02 CEST 2007

I'm trying to setup a persistent IronPython environment but I'm not sure
where to start. I would like to be able to do something like the following.


PythonEngine engine = new PythonEngine();

engine.Execute("x = 12");

engine.Execute("Print x");


Currently everything I have tried throws an exception since the first
statement isn't maintained within the engine. I've tried using
ParseInteractiveInput and can't seem to get that to work as desired either.
Any help would be greatly appreciated.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070503/bdd3e36e/attachment.html>

More information about the Ironpython-users mailing list