There's two ways to do this: One is to expose a static (or even an instance)
class to Python code which your C# code accesses, the other is to access the
EngineModule and pull variables out that Python code has set.
The first can be done by:
PythonEngine pe = new PythonEngine();
EngineModule em
Here is a blog post I wrote recently covering this topic:
http://blogs.msdn.com/rdawson/archive/2007/11/28/hosting-ironpython-1-1.aspx.
Let me know if you have further questions.
-Ryan
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kaveripakam,
Sathish
Sent: Fr
This seems to work fine for me (same config apparently unless you're on 64-bit
Vista - Vista, VS2008 RTM, .NET 3.5). Do you get an exception outputted or do
you just get the Watson UI saying an application has crashed?
One option might be to run under cordbg to see what the problem is, e.g.:
c
Hi David,
This is actually a bug in the DLR code. What is happening, and what made your
brain hurt, was the code which creates instructions for DLR how to do a given
operation, in this case how to call the CreateParser method. Since it is not a
public method, we have to invoke it through reflec
Hi,
Can anyone else confirm this behavior?
I can run ipy.exe fine from a command line. However, if I start a
Visual Studio 2008 command window, (this is just %comspec% /k
""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat""
x86), and then "import os" ipy.exe crashes. Furthermore, all
Hi All,
I am using C# code and iron python V1.1 version of dll's using Visual
Studio. In this context, I would like to read the value of the variables
manipulated/defined in iron python files in C# and vice versa.
Any example is highly appreciated.
Regards
Legal Notice: