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?

1
  • 1
    I believe the question has been asked and answered before on SO, if I am not mistaken? Commented Nov 22, 2013 at 17:45

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

I'll give this some investigation, thank you!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.