Thanks Dino, that's exactly what I wanted!
On Mon, Oct 24, 2011 at 6:16 PM, Dino Viehland wrote:
> This should do it – the hosting APIs changed quite a bit between 2.0 and
> 2.7:
>
> import clr
>
> clr.AddReference('IronPython')
>
> from IronPython.Runtime import PythonContext
>
This should do it - the hosting APIs changed quite a bit between 2.0 and 2.7:
import clr
clr.AddReference('IronPython')
from IronPython.Runtime import PythonContext
import System
clr.GetCurrentRuntime().GetLanguage(PythonContext).FormatException(System.Exception())
There could be other variations