看板 Python 關於我們 聯絡資訊
不好意思~標題可能沒有下的很好 一開始我先透過USB收集數據,USB是使用C++/C# 想請教各位如何從C++/C#把收集到的資料或數據丟給Python做資料處理? 目前接收資料就是被綁定成使用C++/C#去擷取,但是又需要用到Python強大的功能 想請教各位如何能讓這兩個程式互相溝通? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.162.175.34 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1468126357.A.422.html
flarehunter: 存成檔案再呼叫python script讀檔? 07/10 13:07
tiefblau: Inter-Process Communication 方法很多 或是寫cython也 07/10 13:18
tiefblau: 不錯 07/10 13:18
LiloHuang: boost::python 07/10 14:38
Yshuan: swig 07/10 15:14
MoriUmi: subprocess 07/10 17:08
Sunal: ZMQ也是一個選擇 07/10 21:16
COLDTURNIP: import ctypes 07/11 04:08
aaabbb111: 謝謝各位的資訊!! 07/11 09:16
shadowjohn: file、stdout、swig、subprocess(popen) 07/11 09:34
CaptainTeemo: protobuf by Google 07/12 09:18
steve1012: Pybind python 07/14 01:01