1

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?

Steffan Donal
  • 2,244
  • 4
  • 24
  • 47

1 Answers1

2

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

Tweety
  • 192
  • 1
  • 10