<div dir="ltr">Hi,<div><br></div><div>We need to access C# managed DLLs from CPython. The obvious choice is IronPython, but this is not easily possible since we can't swap out the interpreter. We saw Pythonnet, and from the description it seemed that it would provide a package for accessing C# from Python.</div>
<div><br></div><div>Unfortunately, rather than a module, it seems to be just the interpreter (which doesn't avoid the issue of not being able to swap the interpreter out). </div><div><br></div><div>The only other solution we see is to use nPython or IronPython to make a COM interface, access this COM interface using a python library, and importing that python library into CPython.</div>
<div><br>Does anyone see a less convoluted way of doing this? </div><div><br></div><div style>Thanks,</div><div style>-Alex</div></div>