[IronPython] Persistent IronPython Environment

Timothy Strimple tstrimple at collectivedata.com
Thu May 3 17:24:34 CEST 2007

How embarrassing. The exception kept saying unexpected token x, so I assumed
that x was the problem. Thanks for the quick reply!




From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Thursday, May 03, 2007 10:16 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Persistent IronPython Environment


engine.Execute("print x");

Note the lowercase 'p' in print.

As they execute in the default module I would expect this to work.

Michael Foord


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.





users mailing list
users at lists.ironpython.com


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

More information about the Ironpython-users mailing list