Import Python lib in C# [closed]
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this questionThere is an existing python lib which i have to instantiate in my C# code. Which is the best possible way to do so? And how? I am not much fa开发者_JAVA百科miliar with python, so IronPython, py2exe confused me big time. Please Help.
You'll almost certainly be better off finding a C#/.NET alternative to that library. What is it?
If you do really need to do this your best option will be IronPython. There are a few guides to embedding IronPython code in C#, such as this one.
精彩评论