python setup.py build_ext --inplace. 執行完之後, 就會看到pyd 檔案了. demo.pyd. 隨便開一個檔案, 引入任何一個function 後就可以使用了. import demo demo.hello().
確定! 回上一頁