I have a Python module, and I'd like to be able to import parts of it like classes in C#, accessing its methods and such as .NET native as possible.
How can I accomplish this using IronPython?
I have a Python module, and I'd like to be able to import parts of it like classes in C#, accessing its methods and such as .NET native as possible.
How can I accomplish this using IronPython?
Take a look at this: https://wiki.python.org/moin/IntegratingPythonWithOtherLanguages
You can assemble Python modules as dynamic-link libraries and then pinvoke them in any .NET application. You can find more details here: http://msdn.microsoft.com/en-us/library/aa719104(v=vs.71).aspx