Re: [Python.NET] How to create an instance of C# from pythonnet?

2013-04-18 Thread msutton
back (most recent call last): File "", line 1, in ImportError: No module named AAA.BBB I don't know why I got this. :-( Any idea? On Thu, Apr 18, 2013 at 3:07 PM, msutton <mailto:[email protected]>> wrote: What I use is: import clr from System.Reflection import As

Re: [Python.NET] How to create an instance of C# from pythonnet?

2013-04-18 Thread msutton
What I use is: import clr from System.Reflection import Assembly Assembly.LoadWithPartialName('Demo') from Render import Demo where the C# code has namespace Render and public class Demo. -Manuel On 04/18/2013 02:45 PM, Seungweon Park wrote: Hi, I have Adapter.dll with namespace 'AAA.BBB.Ada

Re: [Python.NET] import clr causes windows service script to fail

2013-04-07 Thread msutton
times it's simply a path configuration problem when the caller can't find the DLLs required. On 04/07/2013 10:46 PM, msutton wrote: Import clr causes windows service script to fail. Windows Service script is for Pyramid: https://github.com/Pylons/pyramid_cookbook/blob/master/deploym

[Python.NET] import clr causes windows service script to fail

2013-04-07 Thread msutton
Import clr causes windows service script to fail. Windows Service script is for Pyramid: https://github.com/Pylons/pyramid_cookbook/blob/master/deployment/windows.rst Without WS script, "import clr" from python works. Without "import clr", WS script works. Together they fail. Setting "import clr"