擅长:python、mysql、java
<p>你试过用铁蟒吗?我知道您希望将C与python一起使用。如果您的主要应用程序是C#,并且您希望利用python的一些特性,那么您可以使用IronPython创建一个环境,在这个环境中可以执行python代码,并且它还可以与C#应用程序交互。
我希望<a href="https://www.codeproject.com/articles/661832/dynamic-programming-with-python-and-csharp" rel="nofollow noreferrer">this</a>link能够解决一些问题。他们用<a href="https://github.com/ncosentino/DevLeader/tree/master/IronPythonExamples" rel="nofollow noreferrer">code</a>很好地解释了这一点</p>