c#中調用python腳本

1.安裝InronPython:http://ironpython.net/ 2.添加引用庫 在Visual Studio新建一個工程後,添加引用IronPython.dll和Microsoft.Scripting.dll(位於InronPython的安裝目錄下,如下圖) 在C#中加入引用 在python中寫腳本(寫完腳本一定要在python下執行看有無語法,對齊等問題) 在c#中加入代碼
相關文章
相關標籤/搜索