Re: [Python.NET] Problem debugging to python.runtime.dll

2010-02-18 Thread Dave Hirschfeld
Vishal.Parikh wrote: > > We are actually using Python.Net with python 2.5 and I wanted to learn > the internal architecture of the Python.Runtime.Dll. I have tried > debugging the dll by attaching the process to python.exe but doesn't hit > any break point. I don't know much about the compiler

[Python.NET] Problem debugging to python.runtime.dll

2010-02-18 Thread Vishal.Parikh
Hi, We are actually using Python.Net with python 2.5 and I wanted to learn the internal architecture of the Python.Runtime.Dll. I have tried debugging the dll by attaching the process to python.exe but doesn't hit any break point. I don't know much about the compiler design and how it works int

Re: [Python.NET] using c# method from python

2010-02-18 Thread Tribble, Brett
Depending on how you're code works in C#, the way you access it from Python may vary, but the basic approach is: Compile your code as a .dll assembly, then from Python do: import clr # Imports the pythonnet clr stuff clr.AddReference("myAssembly.dll") myObjectHandle = myAssembly.myClass() myObj

Re: [Python.NET] use Python script into C#.net

2010-02-18 Thread Alex Willmer
On 18 February 2010 11:04, wrote: > We are currently developing an application where we need to call python > script from c#.net code. In this direction (calling Python from C#) IronPython will serve you better, it is Python implemented on the .NET CLR. Python.NET has a different goal, calling .

[Python.NET] use Python script into C#.net

2010-02-18 Thread chintan.bhatt
Hi, We are currently developing an application where we need to call python script from c#.net code. We are using VS 2008 .Is it possible, if yes then how we can achieve that , we do not know anything about Python Best Regards, --

[Python.NET] using c# method from python

2010-02-18 Thread munawwarah Chamroo
Hi, I am currently developing an application where i need to call some c# methods from my python code. I want to know if this is possible to do using pythonnet and how to do it. for example i have a c# class foo and in foo i have a method bar() Now i need to call method bar() in my python code. Ho