利用cython將python轉爲c代碼

1. 安裝cython

2. cython test.py --embed

3. gcc `python-config --cflags` `python-config --ldflags` test.c -o test

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章