利用cython将python转为c代码

发布时间:2019-09-08 09:12:32编辑:auto阅读(2862)

    1. 安装cython

    2. cython test.py --embed

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

关键字